[pnfs] sorting out pnfs cvs

J. Bruce Fields bfields at fieldses.org
Fri Mar 2 16:24:48 EST 2007


On Fri, Mar 02, 2007 at 01:10:26PM -0800, Marc Eshel wrote:
> </nas/pnfs/linux-pnfs> git push 
> ssh://linux-nfs.org/pub/linux/linux-pnfs.git master
> Password:
> error: src refspec master matches more than one.
> fatal: unexpected EOF

OK, so the account problems are taken care of then.  I think my
suggested commandline was just wrong; make it:

	git push ssh://linux-nfs.org/pub/linux/linux-pnfs.git refs/heads/master

and hopefully all will be well.

(The long version: branch names like "master" are really shorthands for
refs/heads/master.  You probably also have a reference named
refs/origin/master, which git is keeping as an unmodified copy of the
master branch in the main repository:

	 $ git-show-ref|grep master
	 e27ceecc68ae444f8889197e007124e5829ccf45 refs/heads/master
	 e27ceecc68ae444f8889197e007124e5829ccf45 refs/remotes/origin/master

Normally the reference in refs/heads/master just takes preference and
git automatically expands master to refs/heads/master without
complaining.  In this case of push it really wants to make sure you're
pushing the reference you mean to, so it stops and asks you to clarify
by giving the full name....)

--b.


More information about the pNFS mailing list