aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/check_upstream.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/check_upstream.sh b/scripts/check_upstream.sh
index 2212df3..3ebf3dd 100755
--- a/scripts/check_upstream.sh
+++ b/scripts/check_upstream.sh
@@ -1,6 +1,7 @@
1# This script is for repo forked from others 1# This script is for repo forked from others
2# check $1(repo) if upstream branch origin/master is 2# check $1(repo) if upstream branch origin/master is
3# ahead of local branch $2(default to dev) 3# ahead of local branch $2(default to dev)
4
4check_upstream() { 5check_upstream() {
5 6
6 if [ ! -d $1 ]; then 7 if [ ! -d $1 ]; then