From: Tony Yu <ts...@gm...> - 2012-02-08 18:41:32
|
On Wed, Feb 8, 2012 at 1:20 PM, Chris <pl...@gm...> wrote: > New error at `git checkout -b mdboom-pixel_marker v1.1.x': > > fatal: git checkout: updating paths is incompatible with switching > branches. > Did you intend to checkout 'v1.1.x' which can not be resolved as commit? > > - Chris > That looks like something I've done before without issue. Maybe you're on an older version of git. In any case, you can break this up into two steps # change to maintenance branch git checkout v1.1.x # create new branch based on current checkout git checkout -b mdboom-pixel_marker Then continue as John instructed. -Tony > > On Wed, Feb 8, 2012 at 10:13 AM, John Hunter <jd...@gm...> wrote: > > > > > > On Wed, Feb 8, 2012 at 12:06 PM, Tony Yu <ts...@gm...> wrote: > > > >>> git clone gi...@gi...:matplotlib/matplotlib.git matplotlib.git > >>> > >>> did not go through. > >>> > >>> - Chris > >>> > >> > >> I don't think you want the ".git" at the very end of the clone command. > >> That just tells get where (i.e. new directory) to put the repo. > >> > > > > I don't think that is the problem. I just add the .git extension because > > the default is to check out a directory called "matplotlib" which if it > is > > located in the path you are running or testing from, will confuse the > > import. So I just add some extension so python won't confuse the mpl src > > dir ("matplotlib.git") with the mpl package ("matplotlib"). > |