Answers for "unstage the changes in git"

2

unstage files in git

# you can use . instead of file_path to unstage all staged files.
git restore --staged <file_path>
Posted by: Guest on January-04-2022
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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language