Create git branch with current changes
Jump to navigation
Jump to search
https://stackoverflow.com/questions/3899627/create-git-branch-with-current-changes
git checkout -b feature/newbranchgit push --set-upstream origin feature/newbranch
Related
- Merge Request (MR), Pull Request (PR)
gh pr creategit branch --all- Move existing, uncommitted work to a new branch in git
See also
git branch,git: upstream,git branch --delete branch name, --unset-upstream,[ --list | -a | -r | -M ]
Advertising: