Is there a git option to force the usage of -- (dash dash) for file paths? -


there important distinction between

git checkout git checkout -- 

the first 1 try switch branches, latter discard changes in file called something destructive operation. when there no branch called something first command resort behaviour of second. can disable behaviour?


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

python - GitPython: check if git is available -

c# - ASP.NET MVC Enumerable to delimited HTML in Razor -