Configure git so that it shows green & red in my terminal

Create a file in your home directory here:

(The dot makes it invisible of course)

In this file, you can configure lots of git stuff:

email =
name = John Doe
rename = copy

# Always enable color, in all commands
ui = true

And if you want some handy aliases for typing less when using git, try these:

ba = branch -a
st = status
ca = commit -a -v
ci = commit -v
pl = pull –rebase
pu = push
cmp = gc –aggressive

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous post Object Equality & States in Ruby
Next post Coercion operations affect which order you might evaluate variables in