Coming from GUI interfaces I've come to finally understand the power of having everything piped in text, but I don't really know how to use all that power yet.
I realized the workflow for a particular project goes like this...
# compile repo 1
cd ~/workspace/repo1
make -B
# deploys compiled code into repo2
make deploy
# commit repo 1
cd ~/workspace/repo1
git add .
git commit -m "changes"
git push origin master
# commit repo 2
cd ~/workspace/repo2
git add .
git commit -m "changes"
git push origin master
My question isn't so much how to accomplish this, it's what is the right tool for this? Reading around it seems that a Bash script is what I need, but I'd like to know from the experts.