I have commit my code on bitbucket from another computer and forgot to change the name from default to mine. How can i fix wrong name to mine. Thx in advance.
Since version 2.2, the commit command has a --amend option that will fold any changes into your working directory into the latest commit, and allow you to edit the commit message. hg commit --amend can in fact be used on any changeset that is a (topological) branch head, that is, one that has no child changesets.
Description. The hg command provides a command line interface to the Mercurial system.
Hg Init: a Mercurial tutorial. Mercurial is a modern, open source, distributed version control system, and a compelling upgrade from older systems like Subversion. In this user-friendly, six-part tutorial, Joel Spolsky teaches you the key concepts.
The issue 3295 addresses your scenario: "Incorrect Author name while Pushing code to BitBucket repository"
The author string is something that comes from the configuration on your machine (since you are committing locally and pushing to Bitbucket).
You can set this string for Hg, this doc talks about doing that.
Similarly you can set the Git author, this doc talks about that.As for the commits you have already pushed to Bitbucket Sebastian is right that you can just map your committer string to your user by clicking on the '
?
'.If you go to the commits screen, you will see a '
?
', click it, and fill out your BB username on the left side, this will link your BB name to your entered commit name.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With