Skip to content

Instantly share code, notes, and snippets.

@rednebmas
Last active August 8, 2021 18:23
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 rednebmas/71bb3cf494b37e3d6fc403aac46a83bd to your computer and use it in GitHub Desktop.
Save rednebmas/71bb3cf494b37e3d6fc403aac46a83bd to your computer and use it in GitHub Desktop.
.gitconfig
[alias]
co = checkout
br = branch
pl = pull
ph = push
A = add -A
amend = commit --amend
ammend = commit --amend
rebase = rebase --no-ff
uncommit = reset HEAD~1
lg = log -10 --format=oneline
lg25 = log -25 --format=oneline
lg100 = log -100 --format=oneline
lg200 = log -200 --format=oneline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment