I am trying in my linux (Xubuntu) console to make the git commit message in my chain of commands a variable so I can more easily execute my chain of commands.
Instead of this where I habe to edit inside the command:
b cucumber && git add . && git commit -m "my commit message" && git push && b cap staging deploy && b cap production deploy
I would like to use a variable. Something like:
$MSG="my new workflow"b cucumber && git add . && git commit -m $MSG && git push && b cap staging deploy && b cap production deploy
Since I am a super bad at this things I would like to check back with someone who knows. Is the syntactically correct way of doing this?