Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

remove file from repo

git filter-repo --invert-paths --path <path to file>
git push --force origin main
 
PREVIOUS NEXT
Tagged: #remove #file #repo
ADD COMMENT
Topic
Name
1+3 =