From: Oleg Broytman Date: Sun, 11 Dec 2016 13:06:04 +0000 (+0300) Subject: Rename source -> upstream X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=ce9945396a4294227258f07f528fcf53984c7175;p=git-scripts.git Rename source -> upstream --- diff --git a/pull-usrlocalsrc b/pull-usrlocalsrc index 0855206..92156d9 100755 --- a/pull-usrlocalsrc +++ b/pull-usrlocalsrc @@ -11,8 +11,8 @@ prog_dir="`dirname \"$0\"`" && cat "$prog_dir"/locate-all.list | grep -F /usr/local/src | while read d; do echo "----- $d -----"; cd "$d" && - if has_remote source && has_remote origin; then - git pull source master && git push origin master || exit 1 + if has_remote upstream && has_remote origin; then + git pull upstream master && git push origin master || exit 1 else git remote | xargs -I'{}' git pull '{}' master || exit 1 fi