File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ P($RES) `pwd` $B master branch"
157
157
if [ " $_RES " = 0 ] || \
158
158
echo " $_OUT " | egrep " does not appear to be a git repository|remote ref does not exist|Please make sure you have the correct access rights" > /dev/null \
159
159
; then
160
- echo " OK, now OTHER clones of this remote repo should 'git fetch --all --prune'"
160
+ echo " OK, now OTHER clones of this remote repo should 'git fetch --all --prune' (so they do not re-push branch ' $B ' - unless this is desired) "
161
161
else
162
162
RES=$_RES
163
163
[ " $_RES " != 0 ] && FAILED=" $FAILED
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ repodir="$(git rev-parse --show-toplevel)" && \
29
29
30
30
# git pull $currentbranch
31
31
# git pull --tags $currentbranch
32
+
33
+ # ## Remove local branches deleted remotely
34
+ # ## TODO : not by default, add an option/envvar to enable this
35
+ # git fetch --all --prune
36
+
32
37
git pull --all
33
38
git pull --all --recurse-submodules=yes
34
39
git fetch --tags
You can’t perform that action at this time.
0 commit comments