git clone --mirror && git clone --reference --shared | --local]
Yes and no, you dont save any space via --single-branch. I was hoping to save space and bandwidth via reference/shared|local/dissociate,…
So i thought I’d do what Google recommended for building your own AOSP build. Create a local mirror and clone off of that. Of course they’ve wrapped Git up in their own scripts which work great.
I’ve tried to set up a mirror following GitHubs instructions at GitHub->Duplicate a repository.
Everything works until the last step to update my GitHub fork: [FONT=Courier New]git push -v --mirror
This outright fails with GitHub windows client. Just says cannot spawn git. No useful information. version 1.9.5.github.0
[FONT=Courier New]$ git push -v --mirror
Pushing to https://github.com/ngrts/UnrealEngine
error: cannot spawn git: No such file or directory
I tried Cygwin version of Git. version 2.1.1
It does do something, but a second push again involves a 200+MB push…
$ git push -v --mirror
[FONT=Courier New]Pushing to https://github.com/ngrts/UnrealEngine
Counting objects: 58936, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (31369/31369), done.
POST git-receive-pack (chunked)36)
Writing objects: 100% (58936/58936), 225.71 MiB | 1.80 MiB/s, done.
Total 58936 (delta 38770), reused 42295 (delta 26390)
remote: warning: GH001: Large files detected.
remote: warning: See Managing large files - GitHub Docs for more information.
remote: warning: File Engine/Source/ThirdParty/CEF3/cef_binary_3.1750.1805_macosx64/Release/Chromium Embedded Framework.framework/Chromium Embedded Framework is 68.74 MB; this is larger than GitHub’s recommended maximum file size of 50 MB
To https://github.com/ngrts/UnrealEngine
= [up to date] 4.0 -> 4.0
(snip)
= [up to date] 4.7.0-preview-6 -> 4.7.0-preview-6
! [remote rejected] refs/pull/1/head -> refs/pull/1/head (deny updating a hidden ref)
*** tons of these deny updating ***
! [remote rejected] refs/pull/99/merge -> refs/pull/99/merge (deny updating a hidden ref)
updating local tracking ref ‘refs/heads/4.0’
(snip)
updating local tracking ref ‘refs/tags/4.7.0-preview-6’
error: failed to push some refs to ‘https://github.com/ngrts/UnrealEngine’
I was hoping to get this squared away before doing soft copies of the mirror.
GitHubs response so far was this looks like known issue in older clients and to update to newer version, but GitHub client auto updated just yesterday?
Has anyone else had experience with mirroring EpicGames/UnrealEngine successfully?
Thanks.