Difference between revisions of "Git switch"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
* https://git-scm.com/docs/git-switch | * https://git-scm.com/docs/git-switch | ||
+ | Switch to another branch | ||
− | [[git | + | [[git]] switch BranchToChange |
[[git switch -]] | [[git switch -]] | ||
− | [[git switch -c]] main | + | git switch --create main or [[git switch -c]] main |
== Related == | == Related == |
Latest revision as of 08:04, 9 July 2024
Switch to another branch
git switch BranchToChange git switch -
git switch --create main or git switch -c main
Related[edit]
See also[edit]
Advertising: