I adopted the multiple commands on a single line to push to GitHub. Instead of running:
git add .
git commit -m 'Update file'
git push
I simply run:
git add .; git commit -m 'Update file'; git push
Believe me, the use of semicolons to execute multiple commands can make a difference when we want agility in the moments of development.
But of course, each case is different. There will be times when a specific commit, with a specific message, will be needed.
Top comments (0)