login
Header Space

 
 

Re: backup or mirror a repository

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dan Farina <drfarina@...>
Cc: <git@...>
Date: Thursday, September 27, 2007 - 9:56 pm

Hi,

On Thu, 27 Sep 2007, Dan Farina wrote:


git remote rm is about removing the remote nick, not a remote branch.


"git pull" without further parameters accesses the remote "origin", not 
"backup", and it merges _one_ branch into the current branch.

What you should have done is "git fetch backup".

Or use "origin" instead of "backup" right from the start, and then use 
"git fetch".

But no pull.


You want to remove branches from the local repo which are no longer there 
on the remote side?

Then "git remote prune" is for you.  For details, please see the man page.

Ciao,
Dscho

-
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:
backup or mirror a repository, Dan Farina, (Thu Sep 27, 3:35 pm)
Re: backup or mirror a repository, Johannes Schindelin, (Thu Sep 27, 5:56 pm)
Re: backup or mirror a repository, Dan Farina, (Thu Sep 27, 8:51 pm)
Re: backup or mirror a repository, Johannes Schindelin, (Thu Sep 27, 9:56 pm)
Re: backup or mirror a repository, Dan Farina, (Thu Sep 27, 10:37 pm)
Re: backup or mirror a repository, Junio C Hamano, (Fri Sep 28, 2:27 am)
Re: backup or mirror a repository, Dmitry Potapov, (Thu Oct 18, 1:32 am)
Re: backup or mirror a repository, Johannes Schindelin, (Mon Oct 29, 8:33 pm)
Re: backup or mirror a repository, Dan Farina, (Fri Sep 28, 3:20 am)
speck-geostationary