2 Install and Configure¶
2.4 Configuration¶
System level:
/etc/config
User level:
~/.gitconfig
Project level:
my_project/.git/config
Editing configurations above
git config --system
git config --global
git config
Example:
git config --global user.name "makto-toruk"
git config --global user.email "manasijv93@gmail.com"
To see config:
git config --list
Default editor:
git config --global core.editor "code --wait"
# VS Code
Colorize:
git config --global color.ui true
2.5 Git Auto-Completition¶
Auto-complete commands, file paths, and branch names
Follow instructions here: https://github.com/git/git/blob/master/contrib/completion/git-completion.bash
2.6 Git Help¶
git help log
<=>git-log