Hg update -C mercurial command equivalent in git -
Hg update -C mercurial command equivalent in git -
suppose have made changes several files in git repository exploratory purposes , want undo of changes original state.
if mercurial do
hg -c what proper way acheive in git?
if wish discard changes 1 file can type:
git checkout -- <file> (actually "git status" giving hint).
if want throw away local changes:
git checkout -f git mercurial
Comments
Post a Comment