Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    It will delete local changes Commented Jul 13, 2020 at 9:47
  • 3
    @UjjwalRoy From the comment on the question, I believe that was the intention. But when I want to save local changes I use git add -A git stash Commented Jul 14, 2020 at 14:20
  • Exactly. The question was how to delete local changes and download from git. Commented Apr 16 at 0:35