我有一个大的git repo(从SVN repo创建),我想将它推送到github.鉴于它很大,我不能只是尝试直接推送它,因为它失败了"包太大"的错误.
到目前为止一切都很好,我可以一次推回一个回购.但是当我尝试这样做时会发生什么:
git push origin 86c310d8a680d6d0e052fa7db89adb25348f3e54:master
error: unable to push to unqualified destination: master
The destination refspec neither matches an existing ref on the remote nor
begins with refs/, and we are unable to guess a prefix based on the source ref.
Run Code Online (Sandbox Code Playgroud)
所以,远程仓库中还没有主分支,但我正试图推动它并且它失败了.
我该如何解决?或者我如何在遥控器上创建一个空的主分支,以便我可以推送它?