Basic Concepts and Set Up - ZephyrJW/learn_github GitHub Wiki
- Git uses SHA-1 hash, like
24b9da6552252987aa493b52f8696cd6d3b00373
, generated by the CONTENT of the file.
- Committed: changes saved to local database
- Modified: modified but not saved to local database
- Staged: mark the current modified files, so to commit later
- /etc/gitconfig
- ~/.gitconfig
- .git/config
- More specific directory will override higher level config files.
git config --global user.name "user_name"
git config --global user.email email_address
git config <key>
git help <verb>
or
git <verb> --help
or
man git-<verb>