Dev tip: Git remove and delete staging file

 When you wanna remove the staging file, please use

 git rm --cached file_name 
This will stop tracking the staging file and also will delete the remote file uploaded.

Comments