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

Re: Cherry-picking to remote branches

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:20

Hi,

On Fri, 6 Jul 2007, Sean Kelley wrote:
[...]

git checkout -b stable linux-stable/master

git cherry-pick  b3b1eea69a   (a commit from linux-devel)

git push linux-stable

error: remote 'refs/heads/master' is not a strict subset of local ref
'refs/heads/master'. maybe you are not up-to-date and need to pull
first?
error: failed to push to 'git://mysite.com/data/git/linux-stable.git'
Since you are obviously only interested in pushing the stable branch, why 
don't you

	git push linux-stable stable

Hm?

If you do not specify which branches to push, "git push" will find all 
refnames which are present both locally and remotely, and push those. 
Evidently, however, your local "master" disagrees with the remote 
"master".

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