我可以同时使用命令行Git工具和TortoiseGit吗? [英] Can I use command-line Git tools and TortoiseGit simultaneously?

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

问题描述

有时,使用git-bash时,有关git的信息比使用TortoiseGit更详细,更容易访问。
因此,我想在特定的问题上使用git-bash(例如,同时创建一个分支/签出并提交未修改的更改)。

  git checkout -b my_new_branch 
git commit

可以之后我与TortoiseGit一起工作,没有任何问题?反之亦然?

解决方案

是的。 tortoise-git只是命令行工具的用户界面,它只是解释项目目录中的 .git 子目录。您可以在同一个项目中使用它们,但同时执行 操作可能会导致问题,我不确定。


Sometimes information regarding git are more detailed and easier accessible when using git-bash than using TortoiseGit. Therefore, I would want to use git-bash for very specific issues (e.g. creating a branch/checkout at the same time and commit uncomitted changes).

git checkout -b my_new_branch
git commit

Could I work with TortoiseGit without any problems afterwards? And vice versa?

解决方案

Yes. tortoise-git is just a user interface to the command line tools which just interpret the .git subdir in your project's directory. You can use them both on the same project, though running actions concurrently might cause problems, I'm not sure.

这篇关于我可以同时使用命令行Git工具和TortoiseGit吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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