Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to unstage changes in git

#unstage a single file
git rm --cached <filePath> 

#unstage all staged files
git reset
 
PREVIOUS NEXT
Tagged: #unstage #git
ADD COMMENT
Topic
Name
8+8 =