On Fri, 6 May 2011 00:48:13 -0700 (PDT)
Thomas Ferris Nicolaisen <tfn...@gmail.com> wrote:

> Try experimenting with a refspec like this:
> 
> git push origin refs/remotes/*:refs/remotes/*
> 
> See the <refspec> section in git
> push<http://www.kernel.org/pub/software/scm/git/docs/git-push.html>for
> more info.

I think that `git push --mirror` does exactly that.

On the other hand, it seems sensible to actually push the remote
branches from the local repo to "regular" branches in the remote repo.
I mean using something like
git push origin refs/remotes/*:refs/heads/*

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to