Answers for "unstage changes from one file git"

3

how to unstage changes in git

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

#unstage all staged files
git reset
Posted by: Guest on October-18-2019
0

unstage particular file git

git reset HEAD <file>
Posted by: Guest on November-20-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language