zoukankan      html  css  js  c++  java
  • SourceTree windows免注册免登陆使用方法

    问题描述:

    安装SourceTree后,首次使用时,需要登录账号;但我们在注册或登录时,可能根本无法打开网页,导致不能进入。

    如下截图:

    解决方法:

    在目录C:UsersXXXXXAppDataLocalAtlassianSourceTree 下创建文件accounts.json 

    注意:XXXXX代表登录系统用户名

    accounts.json 中添加以下代码:

    [
    {
    "$id": "1",
    "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
    "IsDefault": false,
    "Authenticate": true,
    "HostInstance": {
    "$id": "2",
    "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
    "Host": {
    "$id": "3",
    "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
    "Id": "atlassian account"
    },
    "BaseUrl": "https://id.atlassian.com/"
    },
    "Credentials": {
    "$id": "4",
    "$type": "SourceTree.Api.Account.Basic.BasicAuthCredentials, SourceTree.Api.Account.Basic",
    "Username": "username@email.com",
    "Email": null,
    "AvatarURL": null,
    "AuthenticationScheme": {
    "$type": "SourceTree.Api.Account.Basic.BasicAuthAuthenticationScheme, SourceTree.Api.Account.Basic",
    "Value": "用户名/密码",
    "Name": "Basic",
    "Description": "密码",
    "HeaderValuePrefix": "Basic",
    "UsernameIsRequired": true
    },
    "Id": "username@email.com",
    "EmailHash": "$2b$11$wgr1TJNVKwiK/dQBd3HKm.2vhJdNmcNbWtb1SQQGgocCxWzQCGZaW",
    "DisplayName": null
    }
    }
    ]

    重新启动软件后,提示信息如下截图:

    根据自己需求,下载安装;然后重新启动软件,就可以成功进入界面。

  • 相关阅读:
    BZOJ 1568: [JSOI2008]Blue Mary开公司
    BZOJ 3165: [Heoi2013]Segment
    BZOJ 2733: [HNOI2012]永无乡
    BZOJ 4631: 踩气球
    BZOJ 4530: [Bjoi2014]大融合
    BZOJ 4919: [Lydsy1706月赛]大根堆
    BZOJ 5442: [Ceoi2018]Global warming
    BZOJ 4027: [HEOI2015]兔子与樱花
    BZOJ 5441: [Ceoi2018]Cloud computing
    php的抓取
  • 原文地址:https://www.cnblogs.com/happybread/p/8990216.html
Copyright © 2011-2022 走看看