tortoisegit克隆选项在右键单击上下文菜单中不可用 [英] tortoisegit clone option is unavailable in right-click context menu

查看:379
本文介绍了tortoisegit克隆选项在右键单击上下文菜单中不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将git 2.5.2 64位和TortoiseGit 1.8.16.0 64位安装到我的Windows 7 64位计算机上。我想克隆一个存储库,但是当我在Windows资源管理器中右键单击时,我没有看到克隆repo的选项:



我去过TortoiseGit - >设置 - >常规 - >上下文菜单和确保克隆选项被选中:




我可以使用git克隆一个repo:

  git clone user@location.com:Group / repo.git myrepo 

我也可以得到TortoiseGit的clone对话框通过命令行打开:

  TortoiseGitProc.exe /命令:clone 

但我似乎无法使用它与TortoiseGit的shell集成工作。



有没有人知道为什么克隆选项没有显示出来?

解决方案


  1. 隐藏菜单版本化路径被选中,所以没有显示TortoiseGit菜单的路径没有找到git工作树(你需要在那里按shift)


  2. 工作树(在不被忽略的文件夹中)上下文菜单中没有可用的克隆。但是,对于版本较高的文件夹(IIRC> = 2.2),在打开上下文菜单时按下 Shift 可以显示Git克隆条目。


I have installed git 2.5.2 64-bit and TortoiseGit 1.8.16.0 64-bit onto my Windows 7 64 bit computer. I would like to clone a repository but when I right click in windows explorer, I am not seeing an option to clone a repo:

I have gone to TortoiseGit -> Settings -> General -> Context Menu and made sure that the Clone option is checked:

I am able to clone a repo using git:

git clone user@location.com:Group/repo.git myrepo

I can also get TortoiseGit's clone dialog to open via command line:

TortoiseGitProc.exe /command:clone

but I can't seem to get it to work with TortoiseGit's shell integration.

Does anyone know why the clone option is not showing up?

解决方案

  1. "Hide Menus for unversioned paths" is selected, so no TortoiseGit menu is shown for paths where no git working tree could be found (you need to press shift there)

  2. Within a working tree (in a non-ignored folder) no clone is available in the context menu. However, with newer versions (IIRC >= 2.2) also for versioned folders the Git clone entry can be shown by pressing Shift while opening the context menu.

这篇关于tortoisegit克隆选项在右键单击上下文菜单中不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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