S
S
Stepan19982021-12-21 16:39:43
git
Stepan1998, 2021-12-21 16:39:43

How can I undo changes that haven't been committed yet?

I forgot to move from master to another branch and changed the file
How do I roll back all my actions back to a clean master before my changes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2021-12-21
@Stepan1998

git checkout -f

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question