Re: Unhelpful "branch.master.remote = <nickname>" advice?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tomas Carnecky
Date: Wednesday, November 11, 2009 - 12:10 pm

On Nov 11, 2009, at 7:56 PM, Jan Nieuwenhuizen wrote:


You used this:
$ git config branch.master.remote = <something>
Do you see the difference between that and what I posted?


Feel free to send a patch ;)


branch.master.remote has two different values, git doesn't know which  
remote to use. Do you want to pull from origin or eddy? I would  
recommend only keeping one [branch "master"] section and edit it  
appropriately.


Hm, I can't explain that one. I would use either the short form (git  
pull -r) or the long form (git pull -r origin master). Try removing  
the duplicate branch.master section and try again.


Is 'git pull -r' not short enough for you? If not, feel free to create  
a alias:
$ git config alias.up 'pull -r'

tom

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Unhelpful &quot;branch.master.remote = &lt;nickname&gt;&quot; advice?, Jan =?UTF-8?B?S3LDvG ..., (Wed Nov 11, 7:13 am)
Re: Unhelpful "branch.master.remote = <nickname>" advice?, Tomas Carnecky, (Wed Nov 11, 12:10 pm)
[PATCH] git-pull.sh: overhaul error handling when no candi ..., Jan =?UTF-8?B?S3LDvG ..., (Thu Nov 12, 7:53 am)
Re: Unhelpful &quot;branch.master.remote = &lt;nickname&gt;&quot; advice?, =?iso-8859-1?Q?Bj=F6 ..., (Thu Nov 12, 7:56 am)
Re: [PATCH] git-pull.sh: overhaul error handling when no ..., Jan =?UTF-8?B?S3LDvG ..., (Thu Nov 12, 8:25 am)
[PATCH v2] git-pull.sh --rebase: overhaul error handling w ..., Jan =?UTF-8?B?S3LDvG ..., (Thu Nov 12, 9:08 am)
[PATCH] Makefile: add uninstall target. Fixes elementary ..., Jan Nieuwenhuizen, (Wed Nov 18, 5:29 am)
[PATCH] pull: clarify advice for the unconfigured error case, Jonathan Nieder, (Fri Nov 27, 7:17 am)
Re: [PATCH] pull: clarify advice for the unconfigured erro ..., Jan =?UTF-8?B?S3LDvG ..., (Thu Dec 3, 3:51 am)