zoukankan      html  css  js  c++  java
  • Mac/Windows 跳过sourcetree的注册环节

     
    前几天在电脑上装了个sourcetree,结果它硬要我注册,烦得很。
     
    于是查了一下怎么跳过注册环节,结果还真有,试了一下,真给力!
     
    特此记录。

    MAC版本:

    1. 打开sourcetree
    2. 关闭sourcetree
    3. 命令终端输入defaults write com.torusknot.SourceTreeNotMAS completedWelcomeWizardVersion 3
    4. 打开sourcetree即可跳过登录

     
    Windows版本:

    1. 打开我的电脑,输入“%LocalAppData%AtlassianSourceTree”,并新建一个accounts.json文件,如下图:

    2. 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
    	}
    ]
    
  • 相关阅读:
    vscode识别预览markdown文件
    工具:静态资源服务器server
    vscode配置easy sass 生成压缩和未压缩的css文件
    cocos Create简单记录
    小程序AR云识别
    小程序被冻结 解冻方法
    vscode设置px转换为rem
    js 打印文本
    .net 启动进程并执行某方法
    c# 创建文件夹、压缩成zip格式并下载
  • 原文地址:https://www.cnblogs.com/young233/p/11529972.html
Copyright © 2011-2022 走看看