Answers for "clear changes without commit git"

3

remove the last commit git without losing changes

git reset HEAD~1 --soft
Posted by: Guest on June-11-2020
11

git delete changes

git clean -df
git checkout -- .
Posted by: Guest on May-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language