diff options
| author | typebrook <typebrook@gmail.com> | 2019-06-16 10:35:35 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-06-16 10:35:35 +0800 |
| commit | 0d055366e08bcd2faf6f90cbf9404404e940fdcd (patch) | |
| tree | 7ed361fd66bc11bed2ea1069b58b8e9dc3c00a58 /scripts | |
| parent | 3a2e2cf27cbad20874d7eff5eea5048bdafc31ed (diff) | |
update
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/check_upstream.sh | 1 |
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 | |||
| 4 | check_upstream() { | 5 | check_upstream() { |
| 5 | 6 | ||
| 6 | if [ ! -d $1 ]; then | 7 | if [ ! -d $1 ]; then |