Answers for "git remove file from commit before push"

5

git remove file from commit

git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch path_to_file" HEAD
Posted by: Guest on May-22-2020
0

remove file from commit

$ git rm --cached <file>
Posted by: Guest on February-23-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language