Re: pushing remote branches

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lorenzo Bettini
Date: Sunday, November 15, 2009 - 3:21 am

Sitaram Chamarty wrote:

so probably I managed to push origin master anyway because gitorious 
asked me for my ssh passphrase?


Thus, if I had

[remote "origin"]
         fetch = +refs/heads/*:refs/remotes/origin/*
         url = git@...
[branch "master"]
         remote = origin
         merge = refs/heads/master
[branch "experiments"]
         remote = origin
         merge = refs/heads/experiments

instead of

[remote "origin"]
         fetch = +refs/heads/*:refs/remotes/origin/*
         url = git://...
[branch "master"]
         remote = origin
         merge = refs/heads/master
[branch "experiments"]
         remote = origin
         merge = refs/heads/experiments

I would have been able to push also to branch experiments?  Without 
having to add

[remote "experiments"]
         url = git@...
         fetch = 
+refs/heads/experiments:refs/remotes/experiments/experiments

?

thanks in advance
	Lorenzo

-- 
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pushing remote branches, Lorenzo Bettini, (Sat Nov 14, 4:37 pm)
Re: pushing remote branches, Sitaram Chamarty, (Sat Nov 14, 5:45 pm)
Re: pushing remote branches, Lorenzo Bettini, (Sun Nov 15, 3:21 am)
Re: pushing remote branches, Sitaram Chamarty, (Sun Nov 15, 4:04 am)
Re: pushing remote branches, Lorenzo Bettini, (Mon Nov 16, 8:27 am)
Re: pushing remote branches, Junio C Hamano, (Mon Nov 16, 1:05 pm)