how to not lose branches when cloning a cloned git repo

we have a git svn repo that fetches from svn and shows all the branches. we then have a bare clone of that which people can push to which only shows branches that have tracking branches on the git-svn repo. it's a pain having to make a tracking branch for everything.

is there some way to keep all the branches when cloning?

Answers


did You used git --mirror option, it implies --bare so just replace it


I believe you need to specify in your clone command that you want it to mirror all branches.


Need Your Help

Conditional Linq Queries

c# linq linq-to-sql .net-3.5

We're working on a Log Viewer. The use will have the option to filter by user, severity, etc. In the Sql days I'd add to the query string, but I want to do it with Linq. How can I conditionally add

Magento Checkout Proccess

magento

Please I have added a custom module to remove the login step from my store checkout process making the billing details the first step. Please I want to show the billing details form even if the cus...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.