1)
Goto git repo
2)
Remove a file or folder from all commits in all branches and tags
#git filter-branch -f --index-filter "git rm -rf --cached --ignore-unmatch FOLDERNAME-OR-FILENAME" -- --all
* Replace FOLDERNAME-OR-FILENAME with file or folder you want to remove
Goto git repo
2)
Remove a file or folder from all commits in all branches and tags
#git filter-branch -f --index-filter "git rm -rf --cached --ignore-unmatch FOLDERNAME-OR-FILENAME" -- --all
* Replace FOLDERNAME-OR-FILENAME with file or folder you want to remove
No comments:
Post a Comment