Login
Ideas
Quotes
Lessons
Words
Username
Password
Login
Cancel
Forgot
password?
Search:
Dictionary
All Posts
Search
Search
Store Your Knowledge at the Brain Bank!
Login
/
Register - It's free!
Username
Password
Login
Cancel
Forgot
password?
Git Remove a File
By
Jamie
in
Lessons
/
Programming - General
3.26.19
Summary -
Remove a file from git but not the local machine.
0 Loves
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