Skip to content

Instantly share code, notes, and snippets.

View chrisjohannsen-olo's full-sized avatar

Chris Johannsen chrisjohannsen-olo

View GitHub Profile
[alias]
amend = commit -a --amend
branches = branch -avv
bclean = "!f() { git branch --merged ${1-develop} | grep -v \\* | grep -v master$ | grep -v ${1-develop}$ | xargs -r git branch -d; }; f"
c = clone --recursive
ca = !git add -A && git commit -av
co = checkout
d = diff --patch-with-stat
fetch-pr = "!f() { git fetch -fu $1 refs/pull/$2/head:pull-$2; }; f"
go = checkout -B
### Keybase proof
I hereby claim:
* I am chrisjohannsen-olo on github.
* I am cjohannsen (https://keybase.io/cjohannsen) on keybase.
* I have a public key whose fingerprint is 58D1 BFE6 EBB2 887C 51D9 7AFA 85DA 5875 7AA2 45F7
To claim this, I am signing this object: