On Wed, Jul 4, 2012 at 11:54 PM, Ben Caradoc-Davies <
[email protected]> wrote:
> On 05/07/12 12:08, Ben Caradoc-Davies wrote:
>
>> (1) If I cloned from my forked personal geotools repository but now want
>> to change my local master to track the main geotools repository, what is
>> the right way to change my local master? Just delete it and recreate it
>> from the new default remote like this?
>>
>> git branch -d master
>> git checkout -b master geotools/master
>>
>
> For the record, this worked (had to checkout a detached head first, and
> use -D to delete master) but the direct fix is:
>
> git branch --set-upstream master geotools/master
>
> where I had previously added the remote called geotools to point to the
> main repo.
>
> Nice git fu Ben! I will have to remember this one.
> Kin
>
>
> --
> Ben Caradoc-Davies <[email protected]>
> Software Engineer
> CSIRO Earth Science and Resource Engineering
> Australian Resources Research Centre
>
>
>
--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel