Resumable "git clone" hack
Moderator: Forum Moderators
Resumable "git clone" hack
This is just for the people posting that their
git clone
is failing about 90% of the way through the download. This hack makes it somewhat resumable, but the total download is probably going to be more than double the amount that git clone
would be.Code: Select all
#!/bin/bash
set +e
# Download the Wesnoth repository in a resumable way
# These should only be done once, skip them if you have to restart
mkdir wesnoth-from-github
cd wesnoth-from-github/
git init
git remote add origin git://github.com/wesnoth/wesnoth-old.git
# These will handle being called more than once
git fetch -v origin tag v0_4_8
git fetch -v origin tag v0_5
git fetch -v origin tag v0_6
git fetch -v origin tag v0_7
git fetch -v origin tag v0_8
git fetch -v origin tag v0_9_0
git fetch -v origin tag 1.0
git fetch -v origin tag 1.1
git fetch -v origin tag 1.2
git fetch -v origin tag 1.3.1
git fetch -v origin tag 1.4
git fetch -v origin tag 1.5.0
git fetch -v origin tag 1.6
git fetch -v origin tag 1.7.0
git fetch -v origin tag 1.8.0
git fetch -v origin tag 1.9.0
git fetch -v origin tag 1.10.0
git fetch -v origin tag 1.11.0
Currently updating the SurvivalXtreme Collection, and the SXC Pressure scenario. That's about a mermish necromancer, who's just found out that her Tentacles Of The Deep have been nerfed.