Git save snapshot in each commit rather than store the delta
Local operations:
Three states:
modified
modified but not adding to git local database
Working directory
staged
modified and ready to add to git local database
Staging area
commited
data safely stored in local database
Git repository
Git config
you can put git config file in the following places:
- /etc/gitconfig
- ~/.gitconfig
-
/.git/config
you can show your git configs by
- git config –list