[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible workarounds for mingw setup
From: |
Ben Pfaff |
Subject: |
Re: possible workarounds for mingw setup |
Date: |
Thu, 09 Oct 2008 21:30:15 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
John Darrington <address@hidden> writes:
> On Wed, Oct 08, 2008 at 09:56:08PM -0700, Ben Pfaff wrote:
>
> The second way is to take the local branch that you pushed to
> origin/relocation-issues and "rebase" it onto origin/stable. If
> you have your local branch checked out at the moment, that's
> just:
>
> # Rebase against origin/stable.
> git rebase origin/stable.
>
> When I try this, I get
>
> fatal: Needed a single revision
> invalid upstream origin/stable
I can think of three possible reasons:
1. Your Git installation is quite old. For what it's
worth, I'm using 1.5.6.5 (but you needn't upgrade to
anything as new as that).
2. Your repository wasn't created by cloning the Savannah
repository but by cloning some other repository. In
that case "origin" refers to that other repository.
In such a case you can do something like:
git remote add savannah address@hidden:/srv/git/pspp.git
git fetch savannah
and then replace "origin" by "savannah" everywhere in
the recipes, e.g.
git rebase savannah/stable
3. You haven't done a "git fetch" recently enough in this
repository that the stable branch has shown up. In
that case just do "git fetch origin"
You can find out some things by running "git branch -a" to list
all the branches that Git knows about. There should be a number
of them at Savannah, e.g. when I run that command, I see:
attributes
changelogs
hmap
hmap2
hmap3
master
random
relational
* v0.6.1
cvs/master
cvs/simpler-proc
jhs/master
origin/master
origin/pre-0.6.1
origin/relocation-issues
origin/rewrite-sheet
origin/stable
--
Ben Pfaff
http://benpfaff.org