GitHub Desktop 和 Sourcetree都是管理git仓库的图像界面,我一直在用GitHub Desktop,但是也想看看sourcetree的样子。
引用官方的介绍surcetree:
Sourcetree simplifies how you interact with your Git repositories so you can focus on coding. Visualize and manage your repositories through Sourcetree’s simple Git GUI.
1.下载Sourcetree。
2.点击SourceTreeSetup-2.6.10.exe。
3.操作如下:
4.在文件资源管理器的地址栏输入:
1 |
|
5.在该目录下创建accounts.json,内容如下:
1 |
|
6.退出刚刚的安装界面,再次运行安装包SourceTreeSetup-2.6.10.exe。
7.安装过程:
8.安装成功:
此操作跳过注册账号,你也能注册一下账号,但是我很快将它删掉,因为还是喜欢GitHub Desktop 的界面/哈哈。