I have done in my local: git commit --amend -m “corrected message”
Then git push
But I have
Updates were rejected because the tip of your current branch is behind
How should I correct my last commit message in Bitbucket? Can I just write in the web of Bitbucket and correct the message there?
Community moderators have prevented the ability to post new answers.
I do not understand. What this does is going back to the commit with the mistake in local
Hi Narcis,
If you have already made some commits, you can do the following
git pull --rebase
This will place all your local commits on top of newly pulled changes.
Cheers,
Renato Rudnicki
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.