Last active
January 12, 2017 08:35
-
-
Save xavxyz/8a4cafcfcf27d72f2fbb05f4b9f3ac9e to your computer and use it in GitHub Desktop.
Stash, pull, apply, repeat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "// ------ π Updating Nova" | |
echo "// ------ Stashing your changes..." | |
git add . | |
git stash | |
# devel = Nova Apollo stable branch at the moment | |
git checkout devel | |
# origin = https://github.com/TelescopeJS/Telescope.git | |
git pull origin | |
echo "// ------ π Nova updated!" | |
echo "// ------ Applying your changes..." | |
git stash apply | |
cd packages/trn-core | |
echo "// ------ π Updating package trn-core" | |
echo "// ------ Stashing your changes..." | |
git stash | |
# origin = https://github.com/dominictracey/trn-core.git | |
git pull origin | |
echo "// ------ π Package trn-core updated!" | |
echo "// ------ Applying your changes..." | |
git stash apply | |
cd ../trn-rest-redux | |
echo "// ------ π Updating package trn-rest-redux" | |
echo "// ------ Stashing your changes..." | |
git stash | |
# origin = https://github.com/dominictracey/trn-rest-redux.git | |
git pull origin | |
echo "// ------ π Package trn-rest-redux updated!" | |
echo "// ------ Applying your changes..." | |
git stash apply | |
cd ../.. | |
echo "// ------ π Ready to dev!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feel free to replace the
origin
remote name if yours are different, however they should point to these repos