Question : how to unstage all files in git
Answered by : ola
git restore --staged .
Source : https://stackoverflow.com/questions/19730565/how-to-remove-files-from-git-staging-area | Last Update : Mon, 06 Dec 21
Question : how to remove file changes in git
Answered by : mushy-monkey-cvodx7g0ah6g
git clean -df
git checkout -- .
Source : https://stackoverflow.com/questions/52704/how-do-i-discard-unstaged-changes-in-git | Last Update : Sat, 30 May 20
Question : git unstage file for commit
Answered by : taylor-hawkes
git reset myfilename.txt
Source : | Last Update : Fri, 06 Mar 20