Answers for "git command to unstage file"

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
0

git unstage

rit reset config.json
Posted by: Guest on June-03-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language