You named your branch differently from what it is called remotely (gt2.7.x
vs 2.7.x).
This command should work instead:
git push geotools gt2.7.x:2.7.x
--
David Winslow
OpenGeo - http://opengeo.org/
On Sun, Jul 1, 2012 at 3:50 PM, Andrea Aime <andrea.a...@geo-solutions.it>wrote:
> Hi,
> was trying to backport a commit to 2.7.x, so went with the following:
>
> git checkout -b gt2.7.x geotools/2.7.x
> git cherry-pick xyz (so far so good)
>
> The push fails:
>
> git push geotools 2.7.x
> error: src refspec 2.7.x does not match any.
> error: failed to push some refs to 'g...@github.com:geotools/geotools.git'
>
> Hmm... but it is there:
>
> git remote -v
> aaime https://github.com/aaime/geotools.git (fetch)
> aaime https://github.com/aaime/geotools.git (push)
> geotools g...@github.com:geotools/geotools.git (fetch)
> geotools g...@github.com:geotools/geotools.git (push)
>
> git branch -r
> aaime/2.7.x
> aaime/HEAD -> aaime/master
> aaime/master
> geotools/2.7.x
> geotools/master
>
> Err... what did I do wrong?
>
> Cheers
> Andrea
>
> --
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
> mob: +39 339 8844549
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> GeoTools-Devel mailing list
> GeoTools-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel