Page 1 of 1

Slooow internet? Try this!

Posted: Fri Jun 10, 2016 12:48 pm
by legoboyvdlp

Code: Select all

git clone -b Terrain --single-branch --depth=1 https://github.com/FGMEMBERS-TERRAGIT/w010n40.git

This will download only the last commit and only the terrain branch of a tile; adjust as necessary.
This forfeits install script privileges / one step updating, and you have to manually update via git pull.
However, it does save time remarkably, since you do not have to download git history and the objects as well as terrain or vice versa...
Only recommended when your internet is abominable; submodule updating recommended at all other times.

Re: Slooow internet? Try this!

Posted: Fri Jun 10, 2016 2:29 pm
by IAHM-COL
That's actually a really good suggestion to get the last snapshot that others say they want.

IIRC, you can't do git pull when cloned like that.

Israel

Re: Slooow internet? Try this!

Posted: Fri Jun 10, 2016 2:40 pm
by legoboyvdlp
Yep, you can -- tiles done like that pull fine. Thanks to whoever suggested this years ago on some other forum...

Re: Slooow internet? Try this!

Posted: Fri Jun 10, 2016 2:49 pm
by IAHM-COL
I'm Surprised!! Great tool!

Thanks to Whoever. Great Sport.

Re: Slooow internet? Try this!

Posted: Fri Jun 10, 2016 2:56 pm
by legoboyvdlp
There's a lot of information on stackoverflow that is incredibly useful. I just remembered the name of the site, and that's the one :)

Re: Slooow internet? Try this!

Posted: Fri Jun 10, 2016 3:00 pm
by IAHM-COL
Apply this trick on an Objects branch and pick your jaw from the floor! :D

Re: Slooow internet? Try this!

Posted: Fri Jun 10, 2016 3:22 pm
by legoboyvdlp
Normally takes all of 20 seconds to clone any objects branch not in Europe or the USA!

Re: Slooow internet? Try this!

Posted: Tue Feb 20, 2018 10:54 pm
by swamp
I tried this and got this.

Code: Select all

$ git clone -b Terrain --single-branch --depth=1 https://github.com/FGMEMBERS-TERRAGIT/w010n40.git
Cloning into 'w010n40'...
warning: Could not find remote branch Terrain to clone.
fatal: Remote branch Terrain not found in upstream origin

Re: Slooow internet? Try this!

Posted: Tue Feb 20, 2018 11:21 pm
by IAHM-COL
The branch indeed does not exist;
maybe?

Code: Select all

git clone -b Terrain --single-branch --depth=1 https://github.com/FGMEMBERS-TERRAGIT/w010n40-terrain.git