Answers for "how to remove changes in local git"

2

remove local changes git

git fetch  # will fetch the latest changes on the remote
git reset --hard origin/master # will set your local branch to match the representation of the remote just pulled down.
Posted by: Guest on February-08-2021
5

git delete changes

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

Code answers related to "how to remove changes in local git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language