L
L
Loot2014-06-19 07:33:10
git
Loot, 2014-06-19 07:33:10

How to delete commit history in bitbucket?

when committing, I accidentally sent a file with a password, how to delete the file and the commit history?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2014-06-19
@jcmvbkbc

Edit or remove a commit (using git commit --amend, git rebase, or git reset --hard).
Push a new branch version (with git push +<branch name>).

D
drc, 2014-06-19
@drc

change your password

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question