Creating a new repository does not use the name of the logged in user

stecy.dube's Avatar


10 Jun, 2016 06:49 PM

When I create a repository, the commit references another user than the one that created the repository.

How can I change the original committer to another user ?
Or better, ensure the repository gets its first commit with the logged in user.

  1. Support Staff 1 Posted by Anton Gogolev on 14 Jun, 2016 02:57 PM

    Anton Gogolev's Avatar


    This only happens when a repository is initialized with .hgignore file. If
    you want the very first commit to be from some specific user, you can
    create an empty repository and then push to it.

  2. 2 Posted by stecy.dube on 06 Jul, 2016 02:20 PM

    stecy.dube's Avatar

    That's a workaround. :(

    I think it is rather arbitrary to have some user (I guess the first created user) always the creator of a repository instead of the user that actually creates it!

    Please fix.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

19 Dec, 2019 06:58 AM
21 Sep, 2019 09:28 PM
21 Aug, 2019 09:07 AM
30 Jul, 2019 08:59 PM
31 May, 2019 02:29 PM


26 Nov, 2018 01:47 PM
16 Nov, 2018 07:51 PM
06 Nov, 2018 04:30 PM
24 Oct, 2018 07:57 AM
20 Jul, 2018 11:07 PM
05 Jul, 2018 10:53 AM