From: Adam S. <ad...@cs...> - 2014-01-19 02:03:48
|
You don't have to do the 2 git clone commands. Git does automatically what you've been doing manually with svn. When you commit in git, it doesn't go up to the repo like it does with svn. You need to run 'git push' to go from your local repo to the remote one. On Sat, 2014-01-18 at 16:33 -0800, Paul Franklin wrote: > I am trying to learn about git. I don't know much yet. > > I am experimenting with having several layers of repos, on > the theory that I will be able to avoid doing something bad > to the real SourceForge repo that way. Something like: > > SourceForge ==> gramps-official ==> gramps-mycopy > > (which I made with two "git clone" commands, the last one > with just a local directory as the source). > > (I used to do something similar with svn, and I manually > transferred my changes by making a patch with "svn diff" and > then applying that patch in my master copy. But I'm trying > to avoid doing it that exact way with git, although I guess > it would work. I'm using git 1.7.4.4 if it matters.) > > But I haven't yet stumbled on the right set of commands to > be able to do a "git push" in my "gramps-mycopy" repo and > have my changes get pushed to my "gramps-official" repo. > (Where I would eventually "git push" them to SourceForge.) > I want to learn how to do a "git push" between two local > repos before I ever try a push to the real SourceForge repo. > > Probably all of you know git well enough that you would have > no reason to do something like this, but I'm hoping you also > know git well enough that you can tell me how I can do it. > > Thanks. > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Gramps-devel mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-devel -- Adam (ad...@cs...) |