Answer the question
In order to leave comments, you need to log in
How to roll back all uncommitted changes (all) in GIT?
How to roll back all uncommitted changes (all) in GIT?
Not to roll back a commit.
The commit has not yet taken place.
I guess it's probably git fetch
But the project is active and I'm very afraid of messing something up.
Answer the question
In order to leave comments, you need to log in
git reset --hard
if there are files that are not tracked, then also
git clean -d -f
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question