install git-filter-repo
brew install git-filter-repo
run command :
git filter-repo --invert-paths --path PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATAgit remote add origin https://github.com/OWNER/REPOSITORY.gitgit push origin --force --all
git filter-repo --invert-paths --path PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA
git remote add origin https://github.com/OWNER/REPOSITORY.gitgit push origin --force --all
git remote add origin https://github.com/OWNER/REPOSITORY.git
git push origin --force --all
No comments:
Post a Comment