abort: no username supplied (see “hg help config”)

前端 未结 6 2116
逝去的感伤
逝去的感伤 2020-12-23 08:31

I have added repository and at the time of commit I get error as

error:  abort: no username supplied (see \"hg help config\") 

I am not ge

6条回答
  •  一个人的身影
    2020-12-23 09:18

    Either put a hgrc in the .hg directory in your repo or put a .hgrc (hgrc for Windows) file in your home dir (then it covers all your projects) In the file you should write

    [ui]
    username = Your Name 
    

提交回复
热议问题