Skip to content

Instantly share code, notes, and snippets.

@wesleyhf
Last active March 30, 2018 04:28
Show Gist options
  • Save wesleyhf/a7607661537638350b7ef612e299c174 to your computer and use it in GitHub Desktop.
Save wesleyhf/a7607661537638350b7ef612e299c174 to your computer and use it in GitHub Desktop.
Useful aliases for git
[alias]
s = status -u
l = log --oneline
a = add --all
cm = commit -m
d = diff
amend = commit --amend --no-edit
unstage = reset HEAD
wip = !git add --all && git commit -q -m 'wip'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment