Answers for "delete file in git repository"

2

delete file from a branch git

git rm --cached file1.txt
git commit -m "remove file1.txt"
Posted by: Guest on November-25-2020
0

how to remove stuff from git

git rm -r File-Name
Posted by: Guest on September-02-2020
0

git remove file from repository

git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD
Posted by: Guest on October-19-2021

Code answers related to "delete file in git repository"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language