git whatchanged
git log --name-status
git log -p --name-only
git log --graph --decorate --pretty=oneline --abbrev-commit
%h
abbreviated commit hash%an
author name%cr
committer date, relative%s
subject
git log --graph --decorate --pretty=format:%h [%cr] %s
git log --graph [branchname]
git log --search=""
git log --author=""
git log --grep=""
git log ..
git log --
git diff --name-only master
(shorter: git diff --name-only master
)
git diff --name-only firstBranchName..secondBranchName
git diff --name-status master
(shorter: git diff --name-status master
)
git diff --name-status firstBranchName..secondBranchName
git diff --stat --color firstBranchName..secondBranchName
git diff firstBranchName..secondBranchName > myDiffFile.diff
git log --graph --left-right --cherry-pick --oneline firstBranchName...secondBranchName
git diff mybranch..master -- myfile.js
git show branch:file
Add extra information to a commit without changing the commit message or modifying the history of the commit
git notes