On these video series, we are going to learn and master using Git. A distributed version control system.
In Part 2 we will touch a little bit more on where the git configuration is found. We will look into how Git records and track changes to files. Add new files to track and commit. Use Diff to compare changes between staged and unstaged files and also how to compare from the last commit. And a learn how to ignore files from being tracked.
Link for core.editor
To show where git configs are found
git config --list --show-origin
level
/usr/local/git/etc/gitconfig
level
~/.gitconfig
working directory
.git/config
Visual Studio Code
Compare to staged file to previous commit
git diff --cached
Sample .gitignore templates based on your project