Skip to content

Instantly share code, notes, and snippets.

@hkdobrev
Created March 27, 2018 19:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkdobrev/d4ae7981f4d03234ffb68afd9e28e5b0 to your computer and use it in GitHub Desktop.
Save hkdobrev/d4ae7981f4d03234ffb68afd9e28e5b0 to your computer and use it in GitHub Desktop.
Git topics I'm comfortable discussing
git [add, stach, checkout, reset] --patch
git add --interactive
aliases for fast CLI usage
aliases for advanced functionality
hub https://hub.github.com
git log
git shortlog
git reflog
.mailmap
.gitattributes - export-ignore, better hunk headers, image diffs
git-mergetool
diff-so-fancy
git rebase --interactive
git commit --fixup, git commit --squash
git rebase --onto
git stash, git-stash --include-untracked, git stash --keep-index
git-bisect
Global .gitignore
Extra .gitconfig, !include
Git hooks
git config -g rerere.enabled, git-rerere
git-filter-branch
BFG
Git LFS
Performance regression testing
whitespace configuration, warnings and errors
git-workree
Extracting a repository
submodules
git-gui, git-web, gitk
Git internals
Git prompt
Gists and GitHub PR refs, remote URL aliasing
Diff algorithms
git-describe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment