sat*_*sat 4 mercurial authorization bitbucket required
我正在尝试将我的更改推送到bitbucket中的本地远程存储库.我可以访问此存储库.但是当我这样做的时候,就是这样.它应该显示密码提示但它没有显示.
$ hg push
pushing to https://sat801@bitbucket.org/sat801/i4330-notification-sm
abort: http authorization required
Run Code Online (Sandbox Code Playgroud)
在我的.hg文件夹中,这是我的hgrc文件
[ui]
username = sat801 <*******@example.com>
editor = nano
[paths]
default = https://sat801@bitbucket.org/sat801/i4330-notification-sm
Run Code Online (Sandbox Code Playgroud)
我既不能在我当地的仓库中推送任何东西,也不能从中获取任何东西.它显示相同的错误
abort: http authorization required
Run Code Online (Sandbox Code Playgroud)
请让我知道如何解决这个问题
我不得不这样做:
[auth]
bb.prefix = bitbucket.org
bb.username = johndoe
bb.password = *********
bb.schemes = http https
Run Code Online (Sandbox Code Playgroud)
其中“bb”可以是任何东西,前缀对应于http服务器域
| 归档时间: |
|
| 查看次数: |
6249 次 |
| 最近记录: |