Store password in TortoiseHg

前端 未结 7 1483
情话喂你
情话喂你 2020-12-02 04:07

Is there a way to configure TortoiseHg to store my password?

I have a project hosted on Google Code that I access using TortoiseHg. Whenever I want to push changes t

相关标签:
7条回答
  • 2020-12-02 05:04

    Simply modify the hgrc file in the .hg directory of your local repository so it looks like this:

    [paths]
    default = https://name:password@yourproj.googlecode.com/hg/
    

    where name is your Google Code login without the gmail/googlemail bit e.g. 'fredb' (not fredb@gmail.com), password is the Google-generated password, and yourproj is the name of your GC project. So something like:

    default = https://fred:xyz123@fredproj.googlecode.com/hg/
    
    0 讨论(0)
提交回复
热议问题