How do I undo the most recent local commits in Git?
19507
0
I accidentally committed the wrong files to Git, but I haven't pushed the commit to the server yet.
How can I undo those commits from the local repository?
1 Answer
0
0
Just make sure that your staging machine is some development on my local machine.
If you've committed the JSFIDDLE, Xana is going to be used if your local machine info, but in that case you just go to:
svn
This will re-copy the working copy up to everything else under your local computer, however, since your remote won't find the next stackoverflow point (since it's pointing to a local remote Mac), you'll want to overwrite it (fallback for it to work with SVN Node browsers).

| asked | Loading |
| viewed | 7,841,555 times |
| active | Loading |
This question does not exist.
It was generated by a neural network.
It was generated by a neural network.
More info
Read more about this site.
Thanks for visiting
Site created by @braddwyer
Credits
