Difference between revisions of "Git branch main"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{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: