Answers for "git discard all local changes and use the one online"

2

git remove all local changes

git reset; git checkout .; git reset --hard HEAD; git clean -fdx; \
git fetch --all; git pull
Posted by: Guest on November-14-2021
11

git discard all changes

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

Code answers related to "git discard all local changes and use the one online"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language