Lucas Bürgy's links
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
version control - How do I discard unstaged changes in Git? - Stack Overflow https://stackoverflow.com/questions/52704/how-do-i-discard-unstaged-changes-in-git#52713
Thu Apr 30 14:02:03 2020
QRCode

For all unstaged files use:

git checkout -- .

For a specific file use:

git checkout path/to/file/to/revert

Make sure to include the period at the end.

git
1244 links, including 4 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn