Git
Some Git notes.
Exclude files and folders:
.git/info/exclude(local, not tracked).gitignore(local).gitignore(global)
Stage
git add \*.ext: Stage all files with the .ext extension
Diff
git diff {baseBranch} {newBranch} -- {file}: Diff for a file between 2 branch
Edit Commit
git commit --amend --author="{name} <{email}>": Change last commit author (combine with interactive rebase for multiple commits)
git commit --amend --date=now --no-edit: Change commit date (now be replace by any valid ISO 8601 date)