[git-users] Re: git --depth=1 to git fetch --unshallow. does it do just the diff ?

2013-08-26 Thread Thomas Ferris Nicolaisen
On Sunday, August 25, 2013 10:03:12 PM UTC+2, Shirish Agarwal wrote: Hi all, This is going to be a longish one, so please pull up a chair. I'm trying to get a repository . The repo. is https://github.com/clintbellanger/flare-game . Now I'm on a unstable network so first I tried the

[git-users] Re: git --depth=1 to git fetch --unshallow. does it do just the diff ?

2013-08-26 Thread shirish शिरीष
@Thomas Ferris Nicolaisen thank you for the prompt reply. I read the link about rsync (actually had read that a while back) but couldn't get around as to how to do it. Should I be doing ~/games/flare-game$ rsync https://github.com/clintbellanger/flare-game . or some other way ?

Re: [git-users] Re: git --depth=1 to git fetch --unshallow. does it do just the diff ?

2013-08-26 Thread Gergely Polonkai
Hello, out of the solutions provided by the Stack Overflow article (mentioned by Thomas), I would definitely choose git-bundle. That is the safest way, as the only thing you will need to know is the last commit you have in the other repository. See [1], the EXAMPLES section holds some good, well,

Re: [git-users] Re: git --depth=1 to git fetch --unshallow. does it do just the diff ?

2013-08-26 Thread Gergely Polonkai
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

[git-users] Re: git --depth=1 to git fetch --unshallow. does it do just the diff ?

2013-08-26 Thread shirish शिरीष
in-line :- 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. - Gergely Polonkai Dear Gergely, This is way over my head. I haven't

Re: [git-users] Git's use of less

2013-08-26 Thread Dale R. Worley
From: Konstantin Khomoutov flatw...@users.sourceforge.net 2) I dislike defaulting to using a pager I think you're a part of a minority in this case -- when you work with Git in a shell, having to append | mypetpager onto the end of each Git command producing a lengthy output quickly

Re: [git-users] Git's use of less

2013-08-26 Thread Gergely Polonkai
On 26 Aug 2013 21:53, Dale R. Worley wor...@alum.mit.edu wrote: From: Konstantin Khomoutov flatw...@users.sourceforge.net 2) I dislike defaulting to using a pager I think you're a part of a minority in this case -- when you work with Git in a shell, having to append | mypetpager

[git-users] Read GIT directory manualy

2013-08-26 Thread Boris Trivic
Hi everyone. I am programmer and I am developing some application connected to GIT. The task is to get list of changed files in selected commit. I know how to read list of commits: .git/log/HEAD I also know how to get changed files from console: git show --name-only

Re: [git-users] Re: git --depth=1 to git fetch --unshallow. does it do just the diff ?

2013-08-26 Thread shirish शिरीष
I did see http://stackoverflow.com/questions/3954852/how-to-complete-a-git-clone-for-a-big-project-on-an-unstable-connection before starting this whole thread. -- Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0

Re: [git-users] Re: git --depth=1 to git fetch --unshallow. does it do just the diff ?

2013-08-26 Thread shirish शिरीष
as well as this :- http://stackoverflow.com/questions/14738219/how-to-resume-a-git-pull-clone-after-a-hung-up-unexpectedly -- Regards, Shirish Agarwal शिरीष अग्रवाल My quotes in this email licensed under CC 3.0 http://creativecommons.org/licenses/by-nc/3.0/

Re: [git-users] error during git pull

2013-08-26 Thread dexter ietf
i thought this would be the cause and none of my commit has one/tgt tracked, i confirmed it by running 'git log' which doesn't list 'one/tgt' as a committed file. so i'm sure i haven't committed that file. On Monday, August 26, 2013 8:15:33 PM UTC+5:30, Gergely Polonkai wrote: Hello, a commit

[git-users] Re: Read GIT directory manualy

2013-08-26 Thread Thomas Ferris Nicolaisen
On Monday, August 26, 2013 11:22:53 PM UTC+2, Boris Trivic wrote: Hi everyone. I am programmer and I am developing some application connected to GIT. The task is to get list of changed files in selected commit. I know how to read list of commits: .git/log/HEAD That is not the normal

Re: [git-users] Read GIT directory manualy

2013-08-26 Thread Gergely Polonkai
Although I haven't used it myself, your life would be easier with libgit[1]. It implements most core features, so it might help you (or you may be qble to pick some parts of it). [1] http://libgit2.github.com On 26 Aug 2013 23:22, Boris Trivic trivu...@gmail.com wrote: Hi everyone. I am