Difference between revisions of "Create git branch with current changes"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 7: | Line 7: | ||
* [[Merge Request (MR)]], [[Pull Request (PR)]] | * [[Merge Request (MR)]], [[Pull Request (PR)]] | ||
* <code>[[gh pr create]]</code> | * <code>[[gh pr create]]</code> | ||
+ | * <code>[[git branch --all]]</code> | ||
== See also == | == See also == |
Revision as of 09:17, 20 March 2023
https://stackoverflow.com/questions/3899627/create-git-branch-with-current-changes
git checkout -b feature/newbranch
git push --set-upstream origin feature/newbranch
Related
See also
git branch
,git: upstream
,git branch --delete branch name
,[ --list | -a | -r | -M ]
Advertising: