Difference between revisions of "Git branch main"
Jump to navigation
Jump to search
(Created page with " == See also == * {{git branch}} Category:Git") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | git branch main | ||
+ | fatal: a branch named 'main' already exists | ||
+ | |||
+ | |||
+ | [[git switch main]] | ||
== See also == | == See also == |
Latest revision as of 08:01, 9 July 2024
git branch main fatal: a branch named 'main' already exists
git switch main
See also[edit]
git branch
,git: upstream
,git branch --delete branch name
,[ --list | -a | -r | -M ]
Advertising: