Daily Weekly Monthly

Daily Shaarli

All links of one day in a single page.

April 30, 2020

version control - How do I discard unstaged changes in Git? - Stack Overflow

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.