介绍
是一个git版本软件,功能全面,比乌龟的右键方式,这个有完善的ui
win下载安装
下载:https://www.sourcetreeapp.com/
双击直接安装,不需要任何选择,然后第二步就是让注册。此时可以关闭软件,到%LocalAppData%\Atlassian\SourceTree\目录下新建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 } ]
保存后重新打开安装包可跳过注册,直接完成安装。上面格式不用整理,json可直接识别
上传GitHub
自己的仓库,clone下来以后需要修改一下url,否则无法push。进入仓库的设置,设置远端信息将url修改成https://user_name@github.com/user_name/xxxxxxx.git
user_name@github.com
下面托管类型选择github,用户名应该可以自动识别为user_name
最新评论