]> git.phdru.name Git - git-scripts.git/blobdiff - update
Carefully list dirty repos and show their status
[git-scripts.git] / update
diff --git a/update b/update
index 7eb5ffcba2b4087591949db022256efec58c863b..2e0aa7843953217b66a23dffddef3dfa47f664d6 100755 (executable)
--- a/update
+++ b/update
@@ -20,8 +20,7 @@ git pull --ff-only current master &&
 
 web="`git config --get --path remote.web.url`" &&
 if [ -n "$web" ]; then
-   git push web &&
-   cd "$web" && git branch -dr current/master
+   git push web master
 fi &&
 
 cd "$current" && exec git pull origin