Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

what is force checkout in git

Force a Checkout
Pass the -f or --force optionwith the git checkout command
to force Git to switch branches, 
even if you have un-staged changes 
(in other words, the index of the working tree differs from HEAD).

Basically, it can be used to throw away local changes
 
PREVIOUS NEXT
Tagged: #force #checkout #git
ADD COMMENT
Topic
Name
5+9 =