git checkout master
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
git reset --merge
git checkout master && git pull
See also
git checkout
[-b
|master | main | -f
]
Advertising: