Quantcast
Browsing all 42 articles
Browse latest View live

Answer by G-Man for How do I discard unstaged changes in Git?

git checkout .This will discard any uncommitted changes to the branch. It won't reset it back if any changes were committed. This is handy when you've done some changes and decide you don't want them...

View Article


Answer by Choletski for How do I discard unstaged changes in Git?

Final working solutiongit restore .git clean -f git clean -df (if you have folders in your local changes)

View Article

Browsing all 42 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>