@@ -16,6 +16,7 @@ if [ "$answer" == "Y" ] || [ "$answer" == "y" ]; then
echo "Saving changes...";
git add .;
git commit -m "Saving changes before switching to branch $1";
+ git push -u origin $1;
fi
if [ "$answer" == "N" ] || [ "$answer" == "n" ]; then
echo "Discarding changes...";