SourceTree

sourceTree 2.0以上版本 安装时跳过登录

2、双击安装包开始安装,出现登录后关闭:
3.使用运行或资源管理器输入%LocalAppData%\Atlassian\SourceTree\进入当前用户的SourceTree目录
4.新建accounts.json文件,内容如下:

[
  {
    "$id": "1",
    "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
    "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.Model.BasicAuthCredentials, SourceTree.Api.Account",
      "Username": "",
      "Email": null
    },
    "IsDefault": false
  }
]

SourceTree过期

将下面的代码粘贴到记事本里面,并命名为.license后缀即可导入sourcetree完成注册

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Email</key>
    <string>302934443@qq.com</string>
    <key>Product</key>
    <string>SourceTree</string>
    <key>Name</key>
    <string>302934443@qq.com</string>
    <key>Signature</key>
    <data>ioInrH8xbnayV4u7nyPth8hK0gnJea/PfjljfpORPgzn7pZHE3Ru25mq09vcO6KpwPoaVjp0V+ps
NKIx0N7fIJi8p7FuRJ20IQFgtj1EZ+0PUCcAFAnSqTHUEOoje/H0jHBnSuWWSNXvC+avJ8D+ySkz
NRElWmGiAO378UC7oPY=</data>
</dict>
</plist>

换行符问题

git config --global core.autocrlf false

[core]
    autocrlf = false