git/config: Add alias for checking out PRs
parent
c23353c14c
commit
d96980d0f0
|
@ -64,6 +64,7 @@
|
||||||
checkup = !git log -1 && (git fetch --all 2>/dev/null || true) && git status
|
checkup = !git log -1 && (git fetch --all 2>/dev/null || true) && git status
|
||||||
fuckit = reset --hard
|
fuckit = reset --hard
|
||||||
setup = !git init && git commit --allow-empty -m \"Initial commit\"
|
setup = !git init && git commit --allow-empty -m \"Initial commit\"
|
||||||
|
fpr = !sh -c 'git fetch ${2:-origin} +refs/pull/$1/head:refs/remotes/${2:-origin}/pr/$1 && git checkout pr/$1' -
|
||||||
e = commit --allow-empty-message -m ''
|
e = commit --allow-empty-message -m ''
|
||||||
br = branch
|
br = branch
|
||||||
co = checkout
|
co = checkout
|
||||||
|
|
Loading…
Reference in New Issue