There isn't anything to compare. Nothing to compare, branches are entirely different commit histories

后端 未结 18 903
北恋
北恋 2020-12-12 22:54

I have a CMS theme installed on my machine. I\'m tracking changes to it via git and decided to back it up on GitHub so I could share those changes.

The theme as prov

18条回答
  •  我在风中等你
    2020-12-12 23:27

    I solved that problem. In my case when i did “git clone” in one directory of my choice without do “git init” inside of that repository. Then I moved in to the cloned repository, where already have a “.git” (is a git repository i.e. do not need a “git init”) and finally I started do my changes or anything.

    It probably doesn’t solve the problem but shows you how to avoid it.

    The command git clone should be a “cd” command imbued if no submodule exists.

提交回复
热议问题