Skip to content

Instantly share code, notes, and snippets.

@thewarpaint
Last active September 11, 2019 14:43
Show Gist options
  • Save thewarpaint/1e3d52917fd8bdd8f39252aa61ada010 to your computer and use it in GitHub Desktop.
Save thewarpaint/1e3d52917fd8bdd8f39252aa61ada010 to your computer and use it in GitHub Desktop.
Development env
if [ -f `brew --prefix`/etc/bash_completion.d/git-completion.bash ]; then
. `brew --prefix`/etc/bash_completion.d/git-completion.bash
fi
[alias]
br = branch
co = checkout
ci = commit
cpk = cherry-pick
st = status
# Custom aliases
ln = "!git log --oneline -n \"$1\" #"
rbi = "!git rebase -i HEAD~\"$1\" #"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment