Difference between revisions of "Git branch main"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
  fatal: a branch named 'main' already exists
 
  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]

Advertising: