This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # A script to commit changes to a specific branch, then merge it back. | |
| # Creates the branch if it doesn't exist, or uses it if it already exists. | |
| # Ensures we're working with the latest version by pulling first. | |
| # Exit immediately if any command fails | |
| set -e | |
| # --- VALIDATION --- | |
| # Check if the correct number of arguments are provided |