How to Delete files from staging area

Written by

in

,

Delete files

from staging area, local machine, and remote repository

git rm <file-name>

commit now to make changes reflected in local, staging and remote-repository