Feature Branch
Create a new feature branch from the latest main.
Steps
- •
If no branch name was provided as an argument, use AskUserQuestion to ask for the feature branch name.
- •
Run the following commands using Bash:
bashgit fetch origin main && git checkout main && git pull origin main && git checkout -b <branch-name>
- •
Confirm to the user that the branch was created and they are now on it.