From 6a736eac4e744f11b6da3b94691a1bbc9743c489 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sun, 19 Feb 2023 06:15:43 +0000 Subject: [PATCH] feat(scripts): add checkout-pr.sh --- private_dot_local/scripts/executable_checkout-pr.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 private_dot_local/scripts/executable_checkout-pr.sh diff --git a/private_dot_local/scripts/executable_checkout-pr.sh b/private_dot_local/scripts/executable_checkout-pr.sh new file mode 100644 index 0000000..3d6977e --- /dev/null +++ b/private_dot_local/scripts/executable_checkout-pr.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +git fetch $1 pull/$2/head:pull-request-$2 +git checkout pull-request-$2