-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Introduction
Adding a new command, default or main, would be beneficial to the gitnow tool that allows users to quickly switch back to the main or master branch of their repository. This command would streamline the workflow for users who frequently switch between feature branches and the main branch.
Suggested Implementation
The new command should:
- Detect the default branch name (either
mainormaster). - Switch to the detected default branch.
Example Usage
Command:
defaultor:
mainInstead of:
git checkout main
# or
git checkout masterThis feature would enhance the usability of gitnow by providing a quick and intuitive way to switch back to the main branch, aligning with common git workflows.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed