Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

git cloning flare-game , unstable network, what to do ?

shirish
Saturday, August 24, 2013 - 22:59

Hi all,
       Due to mistake on my part, I accidently removed flare-game repo and it's sometime that it has been removed .

Now AFAIK the repo. has grown big, it's almost 500 MB or a little bit more in size and my network is pretty unstable. I searched on the web and found two ways in which I could clone without trying to do the full clone at one go.

1. Cloning with depth

    git clone --depth=1 https://github.com/clintbellanger/flare-game.git

and go on increasing the depth using git-fetch as shared in http://stackoverflow.com/questions/6802145/convert-shallow-clone-to-full.... Now I don't know till what depth this approach will work ? as well as if there are downsides to this approach.

2. Making a git-bundle :-  One another way is if somebody makes a git-bundle [1] but do not know how that works. The simplest way I could understand it IF I'm understanding it right is it packs whatever is in .git directory of any given repo. which has the commit messages and other things which tells the structure of the repo. and what happened when and by whom.

And then I can incrementally fetch all the objects in the repo. But again how to do that is again somewhat. I do know it involves git fetch but nothing beyond that.

If anybody has explored either of the options before would be nice to hear about it.

Lastly this is my git version .

     $ git --version
     git version 1.8.4.rc2

Looking forward to knowing more.

1. http://linux.die.net/man/1/git-bundle

  • Log in or register to post comments
andrewj
joined 13 years 1 month ago
Sunday, August 25, 2013 - 01:11

Perhaps you can use a different transport protocol, e.g. rsync

  • Log in or register to post comments
Stefan Beller
joined 13 years 3 months ago
Sunday, August 25, 2013 - 01:24

I would also suggest rsync, which is designed to combat network issues.

However I am not sure if you can just rsync from github. :/

  • Log in or register to post comments