2012-01-04 24 views
1

沒有裁判,我想轉換一個SVN庫與git以下在http://www.albin.net/git/convert-subversion-to-git的說明。我做了這個曾經遵循相同的指令之前,和它的工作,但這次在指示的步驟4「混帳推裸」我碰到下面的錯誤。svn涉及到git的轉換中常見

No refs in common and none specified; doing nothing. 
Perhaps you should specify a branch such as 'master'. 
fatal: The remote end hung up unexpectedly 
error: failed to push some refs to '/Users/[ME]/new-bare.git' 

無論如何要克服這個錯誤?還是有更好的方法來從SVN轉向Git?

+0

該指南曲的點...我從來沒有已經觸及裸像的頭。無論如何:嘗試'git push bare master' – fge 2012-01-04 18:39:24

回答