Git
Various Git aliases from others
Push existing repository to new remote
Pretty-print branch graph
Move ‘master’ back
Replay changes from ‘master’
Show changed files in commit hash
From here.
Create patch file from diff
Create patch file from commit
Apply patch file
Bulk create patch files from files
From here.
Show diff of stashed hunk
Bulk create separate stashes of files
Pop every entry from the stash
Move unpushed commits to new branch
Copy commit to current branch
Undo pushed commit that wasn’t pulled
View history of specific function in file
Speed up Git for larger repositories
Search through history for a word
Delete remote branch
Bulk reset author of multiple commits
Re-order commits
Search for string in a commit message
Search for string in commit contents
Clean new untracked files and directories
-d
: recurse into directories as well-f
: go ahead with deletion-n
: dry-run