Removing '.git' directory from git repo?

后端 未结 5 1974
名媛妹妹
名媛妹妹 2020-12-09 16:06

I\'m trying to migrate a git repo from Kiln to Github. I can add the new remote just fine, but when I try to push master to the new remote, I get the following error:

<
5条回答
  •  清歌不尽
    2020-12-09 16:55

    As I understand it kiln will let you clone a repository as either git or Mercurial these days, so clone it as mercurial, use the mercurial filemap solution you already found push that Mercurial repo as a new repo to Kiln and then clone it down as git. Then you'll have a git repo you can push to github.

提交回复
热议问题