Skip to content

Instantly share code, notes, and snippets.

@jplindgren
Created March 19, 2017 23:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jplindgren/71299b248dda8323f771e5b438e1ada2 to your computer and use it in GitHub Desktop.
Save jplindgren/71299b248dda8323f771e5b438e1ada2 to your computer and use it in GitHub Desktop.
Good aliases for common git commands. Usually .gitignore is at c:/users/myuser in windows.
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
type = cat-file -t
dump = cat-file -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment