diff --git a/git/.config/git/config b/git/.config/git/config index 7df18c3..c74269e 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -64,6 +64,7 @@ checkup = !git log -1 && (git fetch --all 2>/dev/null || true) && git status fuckit = reset --hard 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 '' br = branch co = checkout