Answers for "how to remove sensitive data from github history"

0

how to remove sensitive data from github history

git filter-branch --force --index-filter \
  "git rm --cached --ignore-unmatch PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA" \
  --prune-empty --tag-name-filter cat -- --all
  git push --force --verbose --dry-run
  git push --force
Posted by: Guest on December-19-2020
0

how to remove sensitive data from github history

git filter-branch --index-filter \
'git update-index --remove PATH-TO-YOUR-FILE-WITH-SENSITIVE-DATA' <introduction-revision-sha1>..HEAD
git push --force --verbose --dry-run
git push --force
Posted by: Guest on December-19-2020

Code answers related to "how to remove sensitive data from github history"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language