Last active
July 13, 2020 16:21
-
-
Save DuckOfDoom/c9e615ea8f8c12f6d01f86b40c5c0abf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
cd /d/Games/World\ of\ Warcraft/ | |
if [[ $# -eq 0 ]]; then | |
cp -r /c/Users/v.yanovsky/AppData/Local/TekkenGame . | |
#check out submodule | |
cd _retail_/Interface/Addons/DOD | |
git checkout master | |
git add . | |
git commit -m "Update" | |
git push | |
cd ../../../.. | |
git add . | |
git commit -m "Update" | |
git push | |
else | |
read -p "Reverting all local changes and pulling from git. Are you sure?" -n 1 -r | |
echo | |
if [[ $REPLY =~ ^[Yy]$ ]]; then | |
git reset --hard | |
git clean -df | |
git pull | |
git submodule update | |
cp -rf TekkenGame/ /c/Users/v.yanovsky/AppData/Local | |
fi | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment