Thread (9 messages) flat view 9 messages, 6 authors, 2016-06-15

Re: git pull/merge master on other branch

From: Lars Hjemli <hidden>
Date: 2016-06-15 22:44:36

On Tue, May 13, 2008 at 4:22 AM, SungHyun Nam [off-list ref] wrote:
Kevin Ballard wrote, at 5/10/2008 2:16 AM:

 > If you know the pull will just be a fast-foward, then you can do
 > something like
 >
 >   git fetch origin && git update-ref master origin/master
I belive that should be `update-ref refs/heads/master origin/master`,
otherwise you'll get this error:
 It seems it worked, but I see a warning message "refname 'master'
 is ambiguous." Can I fix this warning message?
Try `rm .git/master`.

--
larsh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help