Make delicious recipes!

Git preferences

You can color code the output on git commands on console using the following:
git config --global color.ui true
git config --global color.status auto
git config --global color.branch auto
Now run git status, and see the difference.

You can also edit the colors by adding the following into ~/.gitconfig:
   ui = auto
[color "branch"]
   current = yellow reverse
   local = yellow
   remote = green
[color "diff"]
   meta = yellow bold
   frag = magenta bold
   old = red bold
   new = green bold
[color "status"]
   added = yellow
   changed = green
   untracked = cyan

All the git settings can be seen using:
git config –list
git config –global --list

A git repository is created when git init command is executed in some directory.
When that is done, a directory .git/ is created which contains the complete history of the repository.
The .git is present only at the top level.

Browse to it and familiarize yourself with its contents.

Like us on Facebook to remain in touch
with the latest in technology and tutorials!

Got a thought to share or found a
bug in the code?
We'd love to hear from you:

Email: (Your email is not shared with anybody)

Facebook comments:

Site Owner: Sachin Goyal