Skip to content

Commit 1252d64

Browse files
author
ipolevoy
committed
script to check out pull requests
1 parent 60a3fef commit 1252d64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/checkout-pr.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
git fetch origin pull/$1/head:pr-$1
4+
git checkout pr-$1

0 commit comments

Comments
 (0)