A tool to streamline the creation of Git branches from the develop
branch with predefined types.
To install Git Reflow, follow these simple steps:
-
Clone the repository to your local machine:
git clone <repository-url> cd git-reflow
-
Run the installation script (requires root access):
sudo ./install.sh
After installation, you can create a new branch by running:
git-reflow
Follow the prompts to select a branch type and describe your branch.
feature
: For new features.fix
: For bug fixes.hotfix
: For urgent fixes.enhancement
: For enhancements.epic
: For large-scale developments that encompass multiple features.tests
: For new tests.docs
: For improvements or additions to documentation.
-
Run the command to start the script:
git-reflow
-
Select the type of branch you want to create by entering the corresponding number (1-7).
-
Enter a brief description of the branch.
-
Optionally, enter the GitHub issue number associated with this branch.
The script will automatically create and checkout a new branch based on your inputs.
This project is licensed under the MIT License.