Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git undo all changes

use "git restore <file>..." to discard changes in working directory
use "git restore --staged <file>..." to unstage
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #undo
ADD COMMENT
Topic
Name
5+7 =