Skip to content

Instantly share code, notes, and snippets.

@rednebmas
Created November 6, 2017 18:20
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/1b77298c8c9769509380e251da1d879c to your computer and use it in GitHub Desktop.
Save rednebmas/1b77298c8c9769509380e251da1d879c to your computer and use it in GitHub Desktop.
Just the aliases
[alias]
co = checkout
c = commit
br = branch
aliases = !git config --list | grep ^alias\\. | cut -c 7- | grep -Ei --color \"$1\" "#"
appcode = "!git ls-files --modified | grep "\\.xcscheme$" | xargs git co"
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment