Create Branch
Create a new timestamped topic branch.
Instructions
Create a timestamped branch with the given prefix:
bash
git checkout -b "<prefix>-$(date +%Y%m%d-%H%M%S)"
Valid Prefixes
- •feat - New feature
- •fix - Bug fix
- •refact - Refactoring
Output
The script outputs the created branch name:
code
feat-20260120-205418
The branch is automatically checked out after creation.