{"thread":{"id":"19285","subject":"git push don't setup tracking?","startedAt":"2009-05-11T11:46:10Z","lastAt":"2009-05-14T09:33:07Z","messageCount":4,"participants":["jean-luc malet","Jeff King","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"113533","messageId":"1de9d39c0905110446h5a0b54e3ic7cf58dda24d4bc4@mail.gmail.com","threadId":"19285","inReplyTo":null,"subject":"git push don't setup tracking?","fromName":"jean-luc malet","fromEmail":"jeanluc.malet@gmail.com","sentAt":"2009-05-11T11:46:10Z","receivedAt":"2009-05-11T11:46:10Z","isPatch":false,"sender":{"key":"jeanluc.malet@gmail.com","avatar":null},"body":"Hi!\nI want to use git in a \"star\" configuration.\nI have  \"repository\" and 2 client \"home\" and \"work\"\nI cloned repository on home and work, then I created a branch at work,\nand pushed it to repository, at home I \"git branch --track\norigin/newbranch\" and done some work... all ok there... then I pushed\nagain to repository\ncome back at work I wanted just to do a git pull.... and there it says\nme that it don't have any tracking information... so I add to add by\nhand the following lines into .git/config :\n[branch \"newbranch\"]\n\tremote = origin\n\tmerge = refs/heads/newbranch\n\nand now it's working.... I think there shall be a way like \"git push\n--track newbranch origin\" so it store tracking information\nthanks and regards\nJLM\n\n-- \nKISS! (Keep It Simple, Stupid!)\n(garde le simple, imbécile!)\n\"mais qu'est-ce que tu m'as pondu comme usine à gaz? fait des choses\nsimples et qui marchent, espèce d'imbécile!\"\n-----------------------------\n\"Si vous pensez que vous êtes trop petit pour changer quoique ce soit,\nessayez donc de dormir avec un moustique dans votre chambre.\" Betty\nReese\nhttp://www.grainesdechangement.com/citations.htm\n"},{"id":"113888","messageId":"20090514063451.GB10411@coredump.intra.peff.net","threadId":"19285","inReplyTo":"1de9d39c0905110446h5a0b54e3ic7cf58dda24d4bc4@mail.gmail.com","subject":"Re: git push don't setup tracking?","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2009-05-14T06:34:52Z","receivedAt":"2009-05-14T06:34:52Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Mon, May 11, 2009 at 01:46:10PM +0200, jean-luc malet wrote:\n\n> I want to use git in a \"star\" configuration.\n> I have  \"repository\" and 2 client \"home\" and \"work\"\n> I cloned repository on home and work, then I created a branch at work,\n> and pushed it to repository, at home I \"git branch --track\n> origin/newbranch\" and done some work... all ok there... then I pushed\n> again to repository\n> come back at work I wanted just to do a git pull.... and there it says\n> me that it don't have any tracking information... so I add to add by\n> hand the following lines into .git/config :\n> [branch \"newbranch\"]\n> \tremote = origin\n> \tmerge = refs/heads/newbranch\n> \n> and now it's working.... I think there shall be a way like \"git push\n> --track newbranch origin\" so it store tracking information\n\nYeah, this is on my todo list, but it is pretty low. There is a little\nbit of cleanup that probably needs to happen first to unify http:// and\ngit:// push (Daniel did some of that recently, but I haven't had time to\nlook carefully at his work).\n\nIf you wanted to work on it, I would be happy to help guide you.\nOtherwise, I may get to it eventually.\n\n-Peff\n"},{"id":"113910","messageId":"1de9d39c0905140152y2059840x809dcd36d63d1a32@mail.gmail.com","threadId":"19285","inReplyTo":"20090514063451.GB10411@coredump.intra.peff.net","subject":"Re: git push don't setup tracking?","fromName":"jean-luc malet","fromEmail":"jeanluc.malet@gmail.com","sentAt":"2009-05-14T08:52:19Z","receivedAt":"2009-05-14T08:52:19Z","isPatch":false,"sender":{"key":"jeanluc.malet@gmail.com","avatar":null},"body":"On Thu, May 14, 2009 at 8:34 AM, Jeff King <peff@peff.net> wrote:\n> On Mon, May 11, 2009 at 01:46:10PM +0200, jean-luc malet wrote:\n>\n>> I want to use git in a \"star\" configuration.\n>> I have  \"repository\" and 2 client \"home\" and \"work\"\n>> I cloned repository on home and work, then I created a branch at work,\n>> and pushed it to repository, at home I \"git branch --track\n>> origin/newbranch\" and done some work... all ok there... then I pushed\n>> again to repository\n>> come back at work I wanted just to do a git pull.... and there it says\n>> me that it don't have any tracking information... so I add to add by\n>> hand the following lines into .git/config :\n>> [branch \"newbranch\"]\n>>       remote = origin\n>>       merge = refs/heads/newbranch\n>>\n>> and now it's working.... I think there shall be a way like \"git push\n>> --track newbranch origin\" so it store tracking information\n>\n> Yeah, this is on my todo list, but it is pretty low. There is a little\n> bit of cleanup that probably needs to happen first to unify http:// and\n> git:// push (Daniel did some of that recently, but I haven't had time to\n> look carefully at his work).\n>\n> If you wanted to work on it, I would be happy to help guide you.\n> Otherwise, I may get to it eventually.\n>\n> -Peff\n>\nHi,\nthanks for the reply,\nsince I never looked into git code yet, I think I need first to get\nfamiliar with it... I will look at it, and if I come to have a\nsolution I'll send it as a patch to the list, but since it might take\ntime for me to go into git's code if you find time to do it please\nnotice me ;)\nthanks\nJLM\n\n\n-- \nKISS! (Keep It Simple, Stupid!)\n(garde le simple, imbécile!)\n\"mais qu'est-ce que tu m'as pondu comme usine à gaz? fait des choses\nsimples et qui marchent, espèce d'imbécile!\"\n-----------------------------\n\"Si vous pensez que vous êtes trop petit pour changer quoique ce soit,\nessayez donc de dormir avec un moustique dans votre chambre.\" Betty\nReese\nhttp://www.grainesdechangement.com/citations.htm\n"},{"id":"113913","messageId":"alpine.DEB.1.00.0905141132360.4533@intel-tinevez-2-302","threadId":"19285","inReplyTo":"1de9d39c0905140152y2059840x809dcd36d63d1a32@mail.gmail.com","subject":"Re: git push don't setup tracking?","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2009-05-14T09:33:07Z","receivedAt":"2009-05-14T09:33:07Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Thu, 14 May 2009, jean-luc malet wrote:\n\n> since I never looked into git code yet, I think I need first to get \n> familiar with it...\n\nThere is a chapter in the user's manual which could help you:\n\nhttp://www.kernel.org/pub/software/scm/git/docs/user-manual.html#hacking-git\n\nCiao,\nDscho\n"}]}