Skip to content

Instantly share code, notes, and snippets.

@probablykabari
Created November 9, 2017 16:34
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 probablykabari/96dd64a97173e24231724b39070d5f09 to your computer and use it in GitHub Desktop.
Save probablykabari/96dd64a97173e24231724b39070d5f09 to your computer and use it in GitHub Desktop.
Git Config
[alias]
st = status -s
co = checkout
cam = commit -a -m
cim = commit -m
aliases = "!git config -l | grep alias | cut -c 7-"
ria = "!git rebase -i `git merge-base HEAD master`"
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
poh = pull --rebase origin master
mergetest = "!f(){ git merge --no-commit --no-ff \"$1\"; git merge --abort; echo \"Merge aborted\"; };f "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment