git checkout -f
Jump to navigation
Jump to search
--force
git checkout -f yourbranch git branch -M yourNewBranch
See also
git checkout
[-b
|master | main | -f
]
Advertising: