Skip to content
Snippets Groups Projects
Commit cb09b652 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

added few commands to come back to origin branch

parent 459eb565
No related branches found
Tags june-2019
No related merge requests found
...@@ -268,6 +268,17 @@ for dir in ${on_dir[@]}; do ...@@ -268,6 +268,17 @@ for dir in ${on_dir[@]}; do
else else
error_mesg "[$dir] error merging $1 -> $2, skipping merge" error_mesg "[$dir] error merging $1 -> $2, skipping merge"
fi fi
if git push origin $2;then
info_mesg "[$dir] push origin $2 " "done"
else
error_mesg "[$dir] error pushing $2 -> origin, skipping merge"
fi
if git checkout $1;then
info_mesg "[$dir] back into branch $1 " "done"
else
error_mesg "[$dir] error back into branch $1 , skipping merge"
fi
fi fi
fi fi
;; ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment