this question has answer here:
i accidentally uploaded documents password in , have changed it's still in commit history. knowledge github low please explain understand i'm doing
git has tools rewrite commit history. please aware if this, not remove file in else's clone, , if else does happen have current version of history contain documents in question, they'll have throw away (or @ least won't want accept pull requests them since they'll reintroduce original history , secret files).
please have @ http://git-scm.com/docs/git-filter-branch.html details on how rewrite history. there examples getting rid of files (examples section); you'll want 1 using --index-filter because it's faster. once done, that's left git push -f upload new history (-f confirm want server discard old history).
Comments
Post a Comment