Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git discard all changes command

git reset –hard		# Revert uncommitted changes in index
git clean -fxd		# Remove newly created files that not in index
Source by docs.gitlab.com #
 
PREVIOUS NEXT
Tagged: #git #discard #command
ADD COMMENT
Topic
Name
8+2 =