Search:   Dictionary All Posts
Store Your Knowledge at the Brain Bank!

Git Remove a File

By Jamie in Lessons / Programming - General  3.26.19  
Summary - Remove a file from git but not the local machine.
Important! - Use the following command to delete the file from 
git rm --cached filename

git commit -m 'removed filename from repo'

git push -u origin branchName