Git

How To Discard All Changes in Git

generic cialis in canada $ git stash -u

Use git stash to tuck away all staged changes, adding -u flag to include unstaged changes. If you want them later, you can get them back. If not, just do a:

$ git stash drop

That’ll get rid of them forever.

Standard

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.