Of course you would take that literally, because that's all it says. :- O I feel that the documentation often falls short of explaining everything necessary to avoid confusion. Luckily your understanding of git is high enough that you could figure it out by investigative means.
It's somewhat comforting, however, to hear that it's actually not possible (yet). It makes it seem less confusing and more hopeful for the future. I think what I'll do is keep origin as the push-default and just specify puborigin whenever I pull/fetch, since I push more often than I pull/fetch, and thus I will have to type less. :-D Thanks to all who have participated, especially Mr. Chamarty, and feel free to check in with new light if there is any to shed! Sincerely, Victor On Jan 4, 6:01 am, "Sitaram Chamarty" <[email protected]> wrote: > On Sun, Jan 4, 2009 at 7:50 AM, Sitaram Chamarty <[email protected]> wrote: > It now appears that it won't work, and you'll just have to do "git > push origin" (though you can alias that I guess) and "git pull" if you > want them from different places. > > I suspect when I tested it I tried things one step at a time, while > modifying the config at each step, and *did not go back* to retest > everything when the config was fully written. Sorry! > > The documentation (git help config) says: > > branch.<name>.remote > When in branch <name>, it tells git-fetch which remote to > fetch. If this option is not given, > git-fetch defaults to remote "origin". > > I took this literally, to mean only fetch, not push. It appears that > this implicitly means both fetch and push, which means there's > actually *no* way to specify what I was trying to. > > I hope someone with more git-smarts chips in with their opinion on this. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GitHub" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/github?hl=en -~----------~----~----~----~------~----~------~--~---
