Answers for "git unstage commit changes"

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
1

how to unstage a commit

git reset HEAD~
Posted by: Guest on August-13-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language