You can color code the output on git commands on console using the following:
git config --global color.ui trueNow run git status, and see the difference.
git config --global color.status auto
git config --global color.branch auto
You can also edit the colors by adding the following into ~/.gitconfig:
[color] 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.
|Email:||(Your email is not shared with anybody)|