the git clone is empty? why this happens

后端 未结 4 1553
自闭症患者
自闭症患者 2021-02-01 16:36

This always perplexes me. I was cloning this

git clone https://android.googlesource.com/kernel/msm.git

And It seemed to be cloning resolving

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-01 17:19

    Also, what happened on my system just now (windows 7). The automatic initialization (git init) did not take place during the

    git clone URL
    

    Operation. Also got the same succesful clone msg.

    After I did a 'manual'

    git init
    

    The clone operation resulted in a dir with contents. After I repeated it.

    So, just try a git init if a dir is empty after a git clone (and the master branch is not empty). Then repeat the clone.

提交回复
热议问题