Difference between revisions of "Git switch"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
* https://git-scm.com/docs/git-switch
 
* https://git-scm.com/docs/git-switch
  
  git switch -
+
  [[git]] switch BranchToChange
 +
 +
[[git switch -]]
  
 
  [[git switch -c]] main
 
  [[git switch -c]] main
  
 
== Related ==
 
== Related ==
[[git checkout]]
+
* <code>[[git checkout]]</code>
[[git restore]]
+
* <code>[[git restore]]</code>
[[git branch]]
+
* <code>[[git branch]]</code>
 +
* <code>[[Move existing, uncommitted work to a new branch in git]]</code>
  
 
== See also ==
 
== See also ==
 
* {{git switch}}
 
* {{git switch}}
* {{git}}
 
  
 
[[Category:Git]]
 
[[Category:Git]]

Latest revision as of 10:53, 20 April 2024

Advertising: