git status for cloned repository shows file deleted

前端 未结 4 1775
无人及你
无人及你 2020-12-16 18:42

I have migrated a cvs repository to git repository and it is in the server. In my local I tried to clone that repository. It got cloned. But when I checked the git status it

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-16 19:10

    What does git branch -a show you after cloning is complete? The problem might be in that git clone asks the remote which branch it has as its current branch and reflects this in the cloned (your local) repo.

    Supposedly either your conversion tool screwed something or the remote repo is somehow screwed with respect to its idea about its active branch.

    We need more information from you to make better guesses.

提交回复
热议问题