我可以同时使用SourceTree和GitHub应用程序吗? [英] can I use SourceTree and a GitHub app at the same time?

查看:257
本文介绍了我可以同时使用SourceTree和GitHub应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为一个新手,我更喜欢GitHub应用程序本身的简单性来处理我们的GitHub托管的git项目。但是,要同步/推拉另一个远程,我需要尝试SourceTree。 (我没有足够的信心将所有内容都保存在命令行中。)



我可以使用GitHub应用程序来编辑我的(主)本地存储库并与GitHub同步.com,并且仅偶尔会启动SourceTree进行同步(我的主要本地回购,因为我无法将github.com远程直接同步到另一个远程,我可以吗?请问这个工作没有任何冲突吗?

对于那些感兴趣的人:我需要一个共享位置上的辅助远程设备,因为它也与无法访问互联网的帐户共享github.com直接回购。

解决方案

同时使用两个应用程序绝对没有问题,git repos在您的计算机上设置合理的文件夹,这两个应用程序都会直接在可视界面中向您展示您的回购看起来像什么。

例如,如果您使用GitHub修改本地GitHub回购应用程序,然后你用SourceTree打开这个相同的回购,你会看到每一个你使用GitHub应用程序进行的修改。



每个git仓库只有一个索引,这两个应用程序将读取相同的索引并显示相同的信息。一方的修改将在另一方显示。



希望这可以帮到你。


As a novice, I prefer the simplicity of the GitHub app itself to work on our GitHub-hosted git project. However, to sync/push-and-pull another remote, I need to try SourceTree. (I am not confident enough to keep everything in the command line.)

Can I use the GitHub app for most editing of my (main) local repo and syncing with GitHub.com, and only occasionally fire up SourceTree to sync (my main local repo, as a I cannot sync the github.com remote directly to another remote, can I?) with the secondary remote? Would this work without any conflicts?

For those interested: I need the secondary remote on a shared location because it is also shared with accounts that cannot reach the internet to sync with the github.com repo directly.

解决方案

There is absolutely no problem to work with both apps at the same time, git repos are juste folders on your computer and both apps simply show you in a visual interface what your repos look like.

For example if you make modification on your local GitHub repo using the GitHub app and you then open this same repo with SourceTree, you'll see every pending modifications you made with the GitHub app.

There is only one index for each git repo, both apps will read the same index and show the same information. The modifications made on one side will be visible on the other side.

Hope this will help you.

这篇关于我可以同时使用SourceTree和GitHub应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆