Answer the question
In order to leave comments, you need to log in
How to overwrite a commit on bitbucket?
Good morning! The question is: how to overwrite an existing commit on bitbucket?
For example, I made a commit and uploaded the changes to the repository.
git add .
git commit -m "My commit"
git push origin
git add .
git commit --amend -m "My commit"
git push origin
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question