Quantcast
Channel: How do I discard unstaged changes in Git? - Stack Overflow
Viewing all articles
Browse latest Browse all 42

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

$
0
0

simply say

git stash

It will remove all your local changes. You also can use later by saying

git stash apply 

or git stash pop


Viewing all articles
Browse latest Browse all 42

Trending Articles



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