Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save KerryJones/6fcac076d0629f34bc2e8604f797fc07 to your computer and use it in GitHub Desktop.
Save KerryJones/6fcac076d0629f34bc2e8604f797fc07 to your computer and use it in GitHub Desktop.
Git Aliases
[alias]
s = status
b = branch
c = commit -m
d = diff
co = checkout
a = add
p = push
l = pull
f = fetch
amend = commit --amend --no-edit
uncommit = reset HEAD~1
unadd = reset HEAD --
unci = reset HEAD~1
unstage = reset HEAD --
undo = reset HEAD~1
aliases = config --get-regexp ^alias\\.
alias = config --get-regexp ^alias\\.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment