Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Git Puller / Pusher for MobArenaBattles
- echo "Please type whether you want to pull or push:"
- read proc
- cd $HOME/Desktop/IdeaProjects/Plugins/MobArenaBattles
- if ["$proc"="push"]; then
- echo "Please type the commit message:"
- read message
- git status
- git add -A
- git commit -m $message
- git push
- elif ["$proc"="pull"]; then
- git status
- git pull
- else
- echo "Invalid choice! Exiting."
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement