Skip to content

Instantly share code, notes, and snippets.

@moallemi
Last active March 5, 2020 09:13
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 moallemi/cb150958526b0e8c84d4 to your computer and use it in GitHub Desktop.
Save moallemi/cb150958526b0e8c84d4 to your computer and use it in GitHub Desktop.
A collection of most useful git commands aliases
[alias]
st = status
d = diff
dh = diff HEAD
co = checkout
sp = submodule foreach git pull
ci = commit
mq = merge --squash
amend = commit --amend --no-edit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment