{"thread":{"id":"28870","subject":"How to take dump and import to new git repository","startedAt":"2011-11-07T11:41:57Z","lastAt":"2011-11-07T11:46:48Z","messageCount":2,"participants":["redhat1981","Carlos Martín Nieto"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"179027","messageId":"1320666117862-6970049.post@n2.nabble.com","threadId":"28870","inReplyTo":null,"subject":"How to take dump and import to new git repository","fromName":"redhat1981","fromEmail":"redhat1981@gmail.com","sentAt":"2011-11-07T11:41:57Z","receivedAt":"2011-11-07T11:41:57Z","isPatch":false,"sender":{"key":"redhat1981@gmail.com","avatar":null},"body":"Hi,\n\nI am SVN admin, Fluent with SVN, Git I am a new user, Please let me know,\nHow to take dump of one git repository and then import that Dump to new\nRepo.\n\nThank you\nredhat1981@gmail.com\n\n--\nView this message in context: http://git.661346.n2.nabble.com/How-to-take-dump-and-import-to-new-git-repository-tp6970049p6970049.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"179030","messageId":"20111107114648.GC10936@beez.lab.cmartin.tk","threadId":"28870","inReplyTo":"1320666117862-6970049.post@n2.nabble.com","subject":"Re: How to take dump and import to new git repository","fromName":"Carlos Martín Nieto","fromEmail":"cmn@elego.de","sentAt":"2011-11-07T11:46:48Z","receivedAt":"2011-11-07T11:46:48Z","isPatch":false,"sender":{"key":"cmn@elego.de","avatar":"https://avatars.githubusercontent.com/u/335443?v=4"},"body":"On Mon, Nov 07, 2011 at 03:41:57AM -0800, redhat1981 wrote:\n> Hi,\n> \n> I am SVN admin, Fluent with SVN, Git I am a new user, Please let me know,\n> How to take dump of one git repository and then import that Dump to new\n> Repo.\n\nThis is what cloning a repository does. You're probably looking for\nthe --mirror option.\n\n   git clone --mirror somerepo.git newrepo.git\n\nwill give you a repository in newrepo.git that has all the branches\nand tags from somerepo.git.\n\n   cmn\n\n\n"}]}