Difference between revisions of "Git checkout master"

From wikieduonline
Jump to navigation Jump to search
 
Line 14: Line 14:
 
* <code>[[git reset --merge]]</code>
 
* <code>[[git reset --merge]]</code>
 
* <code>[[git checkout]] master && [[git pull]]</code>
 
* <code>[[git checkout]] master && [[git pull]]</code>
 +
* <code>[[git checkout main]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 14:39, 6 February 2023

git checkout master
Branch 'master' set up to track remote branch 'master' from 'origin'.
Switched to a new branch 'master'
git checkout master
.gitignore: needs merge
error: you need to resolve your current index first
git checkout master
error: pathspec 'master' did not match any file(s) known to git

Related[edit]

See also[edit]

Advertising: