我可以同时使用命令行Git工具和TortoiseGit吗? [英] Can I use command-line Git tools and TortoiseGit simultaneously?
问题描述
因此,我想在特定的问题上使用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屋!