Answer the question
In order to leave comments, you need to log in
How to restore git changes?
Colleagues, good evening.
There was a problem - I ask for your help.
There is a project in netbeans linked to git. The changes are committed to the local machine. It turned out that they accidentally made a pull through the IDE (from the master branch) and overwritten all the changes, incl. which merged via ftp to the test server.
Is it possible, by means of git, to return everything back, given that the commit was not made?
PS: I know that the hands of the asshole, please do not remind once again.
Answer the question
In order to leave comments, you need to log in
If you didn't git commit the changes, then most likely you can't.
git status see if your changes are there, and if there are none, then there are none.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question