if I'm getting it right, there is a read only repo that you want to take
home. In this case, git-bundle is good for you. Follow the git-bundle
man-page, where R1 should be the read only repo, and R2 your home repo.

First, create the initial bundle:

cd R1
git bundle create /home/you/file.bundle master

As you don't have write access, you can't create tags, so you will have to
write down the last commit hash.

Now take file.bundle home, and issue

git clone file.bundle game-folder

which will create game-folder/ and check out the whole repo there.

Next time when R1 is at hand, use

cd R1
git bundle create /home/you/file.bundle lastCommitHash..master

Again, you can't create tags, so write down the new last commit hash.

Now take this new file home, overwrite the old file.bundle, and issue a git
pull in your home repo (game-folder/).

Voilà!

An easier approach can be if you clone the repo to a private folder, if
possible. E.g. take a pendrive with you, do a git clone to clone the read
only repo into a folder on it, and periodically do a git pull when you are
around again.
On 26 Aug 2013 11:04, "shirish शिरीष" <shirisha...@gmail.com> wrote:

> @Gergely Polonkai I read the bit about git-bundle but have no idea how
> it works.
>
> I did read the manpage and correct me if I'm wrong but it seems it's
> for the person who's the owner of the project. I have no commit access
> to the repo. I shared, I'm just a user who's interested in getting a
> game. If somebody could share how can I pull or clone from the repo.
> would be nice.
>
> For the rsync thing, if I were pulling (via rsync) and somebody is
> committing something I would get a corrupted clone (as far as the
> notes say)  so either I would have to tell/ask all the devs. to not
> commit anything to the repo. until I have downloaded it (which would
> take 2 or more days perhaps) which would not only be rude to the devs.
> but also not to other people who are interested to see updates in the
> project.
>
> It would be great/nice if somebody would have to take an e.g. of a
> github repo. if there is a way to clone or pull the repo. via git
> bundle.
>
> Looking forward to solutions.
> --
>           Regards,
>           Shirish Agarwal  शिरीष अग्रवाल
>   My quotes in this email licensed under CC 3.0
> http://creativecommons.org/licenses/by-nc/3.0/
> http://flossexperiences.wordpress.com
> 065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17
>
> --
> You received this message because you are subscribed to the Google Groups
> "Git for human beings" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to git-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to