<div dir="ltr">Many thanks Merlijn,<div>that was very helpful.</div><div>I had tried git pull before in to a clean repo but it didn't seem right. I think I was ending up with just the branch that was the subject of the last commit made during the conversion.</div><div><br></div><div>Thanks</div><div><br></div><div>Peter<br><div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 9 Jan 2019 at 18:05, Merlijn van Deen (valhallasw) <<a href="mailto:valhallasw@arctus.nl">valhallasw@arctus.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Peter,<div><br></div><div>On Wed, 9 Jan 2019 at 17:24, Peter Grandcourt <<a href="mailto:peter.grandcourt@gmail.com" target="_blank">peter.grandcourt@gmail.com</a>> wrote:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have converted a large repository to git using the svn-all-fast-export. <br>
 But after the conversation there is no .git folder, and so I can’t run any git commands. <br><br></blockquote><div><br></div><div>Could you describe the commands you've used to do the conversion, as well as the .rules file used to create the repositories?</div><div><br></div><div>It has been a long time since I've used the tool -- the scripts and tooling I used at the time are available at <a href="https://github.com/pywikibot/svn2git/tree/master/scripts-pwb" target="_blank">https://github.com/pywikibot/svn2git/tree/master/scripts-pwb</a>. Specifically, <a href="https://github.com/pywikibot/svn2git/blob/master/scripts-pwb/sync_convert_push" target="_blank">https://github.com/pywikibot/svn2git/blob/master/scripts-pwb/sync_convert_push</a> automates the whole process from updating the SVN mirror to pushing the result to a remote git server.</div><div><br></div><div>This `total.rules` creates four repositories:</div><div><br></div><div><div>$ ls output</div><div>compat  core  i18n  spelling</div></div><div><br></div><div>and each repository is a so-called 'bare' git repository:</div><div><br></div><div><div>$ ls output/compat</div><div>branches  config  description  HEAD  hooks  info  marks-output_compat  objects  refs</div></div><div><br></div><div>You can't use such a repository directly, but you can push and pull from it, e.g.</div><div><br></div><div>$ git clone output/compat new_regular_git_repo</div><div>Cloning into 'new_regular_git_repo'...</div><div>done.</div><div>$ cd new_regular_git_repo</div><div>$ ls</div><div><div>[... files on master branch ...]</div></div><div><br></div><div><br></div><div>I hope this helps!</div><div><br></div><div>Merlijn</div></div></div></div></div></div></div></div>
</blockquote></div>