Difference between revisions of "Create git branch with current changes"

From wikieduonline
Jump to navigation Jump to search
(Created page with "https://stackoverflow.com/questions/3899627/create-git-branch-with-current-changes * {{git}}")
 
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
https://stackoverflow.com/questions/3899627/create-git-branch-with-current-changes
 
https://stackoverflow.com/questions/3899627/create-git-branch-with-current-changes
  
 +
* <code>[[git checkout -b]] feature/newbranch</code>
 +
* <code>[[git push --set-upstream]] origin feature/newbranch</code>
  
 +
== Related ==
 +
* [[Merge Request (MR)]], [[Pull Request (PR)]]
 +
* <code>[[gh pr create]]</code>
 +
* <code>[[git branch --all]]</code>
 +
* [[Move existing, uncommitted work to a new branch in git]]
  
 +
== See also ==
 +
* {{git branch}}
  
* {{git}}
+
[[Category:Git]]

Latest revision as of 08:44, 20 June 2023

Advertising: