克隆Github回购特定的Windows文件夹? [英] Clone Github repo to specific Windows folder?

查看:96
本文介绍了克隆Github回购特定的Windows文件夹?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更改特定git的克隆文件夹?我的默认存储目录在此处

  C:\ Users \myPC\Documents\ GitHub 

但是对于这个git

  https://github.com/username/myproject 

I想把它放进

  C:\somefolder 

(和不是,如 C:\somefolder\myproject \\ somefolder )



如何做到这一点?我尝试了 git clone 命令行,但是git没有出现在我的Github for Windows客户端中。



对不起对于基本的问题,但不能谷歌或在这里搜索任何答案!

解决方案

手动克隆与 git clone ,你可以手动添加一个本地仓库到Github for Windows(我现在无法截图,在另一台机器上,但它应该相对容易找到)。
但是,我真的不知道,如果这将具有全部功能(即,如果GhfW将它识别为Github克隆),或者它将具有针对一般存储库的常规集合。


一如既往:试试吧! :D

How to change the cloning folder of a specific git? My default storage directory is here

C:\Users\myPC\Documents\GitHub

But for this one git

https://github.com/username/myproject

I want to put it in

C:\somefolder

(and not like C:\somefolder\myproject but all the files under C:\somefolder)

How to do that? I tried git clone command line but then the git doesn't show up in my Github for Windows client

Sorry for basic question but couldn't google or search here any answer!

解决方案

After you have manually cloned the repository with git clone, you can manually Add a local repository to Github for Windows (I can't take a screenshot right now because I'm on another machine, but it should be relatively easy to find). I honestly don't know, though, if this will then have the full set of features (i.e. if GhfW recognizes it as a Github clone), or if it will have the reduced "regular" set for repositories in general.

As always: Try it and see! :D

这篇关于克隆Github回购特定的Windows文件夹?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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