-
Notifications
You must be signed in to change notification settings - Fork 288
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
If you want to create a new branch, there are only two options for dealing with existing changes:
- Stash & Reapply
- Discard
If you want to keep your changes, you must therefore select “Stash & Reapply”. However, this changes the assignments to staged and unstaged.
After this operation, all changed files from staged are in unstaged. However, it is possible that changes were made to one and the same file in staged and unstaged. If you want to create a branch to commit the staged files, they can no longer be separated from the unstaged files.
A “do nothing with the changes” option would be nice.
The branch can simply be created with the following command:
git checkout -b “<branch-name>”
This command leaves the local changes untouched.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request