Difference between revisions of "Git checkout -f"
Jump to navigation
Jump to search
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | --force | ||
+ | == Related == | ||
{{rename branch}} | {{rename branch}} | ||
Line 7: | Line 9: | ||
== See also == | == See also == | ||
* {{git checkout}} | * {{git checkout}} | ||
+ | |||
+ | [[Category:Git]] |
Latest revision as of 09:23, 20 March 2023
--force
Related[edit]
git checkout -f yourbranch git branch -M yourNewBranch
See also[edit]
git checkout
[-b
|master | main | -f
]
Advertising: