This script aims to automate three core git actions: Switching to the branch you specify. Committing changes with a message you provide and pushing to the specified branch. The magic gives us the count of arguments you've passed in. If it's not two, the script will remind you how to use it.

β€’3m read timeβ€’From dev.to
Post cover image
Table of contents
What Does This Script Do? πŸ€”Breaking Down The Code πŸ› How Do I Use This Script? πŸš€Wrapping Up
6 Comments

Sort: