git checkout resets modified files
Version git 2.5.0,
Description:
I was automating a process that would pull and switch to another
branch when I stumbled across this. I have not been able to emulate
this from command line but using go (or I imagine other languages are
similar) if you execute
Steve Heyns notzi...@gmail.com writes:
git checkout resets modified files
Version git 2.5.0,
Description:
I was automating a process that would pull and switch to another
branch when I stumbled across this. I have not been able to emulate
this from command line but using go (or I imagine
Junio C Hamano gits...@pobox.com writes:
I do not think this behaviour depends on the vintage of Git. An
empty string as pathspec has always matched everything in here
AFAIR.
Having said all that, I think the DWIM used by git checkout has
some room for improvement, namely, its we didn't see
3 matches
Mail list logo