In this article let’s discuss about How discharge changes e recover last commit git. Let’s go through the following methods without any delay.
git reset HEAD --hard
If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!
Method 2 :
git clean -fd
Hope the above solution works.
Realted Posts : Ubuntu update nodejs