git-clone

Git Clone Fails: Server Certificate Verification Failed

喜欢而已 提交于 2019-12-05 08:18:56
I've been unable to git clone just about any github repo because of this error fatal: unable to access 'github_url': server certificate verification failed. CAfile: /home/ubuntu/.ssh/rel3_dodroot_2048.crt CRLFile: none I've noticed a few other people have had a similar error, but with the certificate in the .ssl folder. I've never seen anyone have this problem with the certificate in the .ssh though, and I have no idea how to fix it. Environment: Nvidia Jetson TX1 running Ubuntu 14.04 Specific Github of Interest (although it happens with all of them) https://github.com/rbgirshick/fast-rcnn.git

git fetch fails due to pack-object failure

孤人 提交于 2019-12-05 07:51:24
When I add our remote repository as upstream and try to fetch it , it fails as below : $ git fetch upstream remote: Counting objects: 11901, done. remote: aborting due to possible repository corruption on the remote side. error: pack-objects died of signal 9 error: git upload-pack: git-pack-objects died with error. fatal: git upload-pack: aborting due to possible repository corruption on the re mote side. fatal: protocol error: bad pack header I understand that it fails due to having huge files in the repository( which we do have) , but why does it Not fail when I clone the same repository?

Git cannot create shallow-since locally

徘徊边缘 提交于 2019-12-05 06:45:13
I am trying to create a --shallow-since working clone from a local bare clone but it keeps pulling everything. --depth=N works fine. I'm thinking the issue is I'm using the wrong format? I've tried searching but no where does it explicitly say what format < date > is supposed to be for --shallow-since=< date >. Format is YYYY-MM-DD See above comment for what confused me and how that confusion was resolved. While the date format is indeed, for instance, YYYY-MM-DD, " git fetch --shallow-since=<cutoff> " had a problem: If you specify a cut-off point that is newer than the existing history, it

Git clone unable to create file

点点圈 提交于 2019-12-05 03:04:47
Trying to clone a remote git repository (bare), I get several errors like the following, after which git stops. error: unable to create file frozen/email/lamson/mymailserver/run/queue/mark.name/cur/1361115664.1929_1.vps-pool-55:2,S (Invalid argument) It's okay if I have to remove these files, but I can't find a way to do that if I can't clone. Any idea what I can do? I guess you're probably trying to do the clone on a Windows machine. Windows doesn't allow filenames to use the : character. From the Microsoft documentation : Use any character in the current code page for a name, including

git server information or ascii on remote operations (clone)

点点圈 提交于 2019-12-05 02:32:53
问题 How can I configure my git server to display additional information or ascii art on remote operations such as clone ? An example would be on this page and is shown below. F:\>git clone https://myserver/tfs/DefaultCollection/_git/Proj Username for 'https://myserver': domain\username Password for 'https://domain\username@myserver': remote: remote: fTfs remote: fSSSSSSSs remote: fSSSSSSSSSS remote: TSSf fSSSSSSSSSSSS remote: SSSSSF fSSSSSSST SSSSS remote: SSfSSSSSsfSSSSSSSt SSSSS remote: SS

git clone: warning: --depth is ignored in local clones; use file:// instead

自闭症网瘾萝莉.ら 提交于 2019-12-05 00:37:13
We have a remote repository on a shared folder in our local network. I attempted to make a shallow clone: git clone --depth 1 //gitrepos-pc/git/foo/ It gave me this warning, and made a full clone: warning: --depth is ignored in local clones; use file:// instead. Ok, after some experimenting I got it, I had to use git clone --depth 1 file:////gitrepos-pc/git/foo/ It had to be 4 slashes, not 3, which was a bit unexpected. I am still not sure why it insists on file://// but I guess it's just a quirk. 来源: https://stackoverflow.com/questions/40383230/git-clone-warning-depth-is-ignored-in-local

error: git checkout-index: unable to create file

泄露秘密 提交于 2019-12-04 23:18:25
What I am trying to do is a git clone on windows, but the parent repository exists in a unix machine. Am cloning using ssh to get a clone from UNIX to windows, and I get this weird error. error: git checkout-index: unable to create file <filename> This happens during the checkout step of a git clone. Can anyone help me? The answer should be:we can't create a file named aux.c in windows! See http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx Do not use the following reserved device names for the name of a file: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5,

Explain clones info in Github's Traffic tab

对着背影说爱祢 提交于 2019-12-04 22:35:16
In a recent question I made, one of the answers pointed to another answer in another question where a way to explore the forks and clones of a public Github repo was shared. I went ahead and did that with my own public repo and came up with this information in the Git clones section under the Traffic tab in the Graphs section: I'm not really sure I understand what this information means. Are there 6 clones of the repo in total with 4 of them made on the 09/08? Did only 3 unique cloners cloned it?, in which case, does that mean they cloned it more than once? Do those numbers include myself and

Make a local Git repo from master based with Zend Repo as Origin

穿精又带淫゛_ 提交于 2019-12-04 16:47:17
I would like to make a clone of a master branch on the test server where we have the master branch and the test site running. This repo is a Zend PHP Framework Application. In the config file @ /home/me/public_html/domain.com/ZendSkeletonApplication/.git/config I have now: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = git://github.com/zendframework/ZendSkeletonApplication.git [branch "master"] remote = origin merge = refs/heads/master I was considering doing my first git clone using

gitlab: git clone https with large repos fails

左心房为你撑大大i 提交于 2019-12-04 12:18:57
问题 When trying to clone a large repo (~700MB) over https, git fails with: c:\git-projects>git clone https://git.mycompany.de/fs.git Cloning into 'fs'... Username for 'https://git.mycompany.de': mwlo Password for 'https://mwlo@git.mycompany.de': efrror: RPC failed; result=22, HTTP code = 500 atal: The remote end hung up unexpectedly clone over ssh works: c:\git-projects>git clone git@git.mycompany.de:fs.git Cloning into 'fs'... remote: Counting objects: 144564, done. remote: Compressing objects: