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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -