search

Home  >  Q&A  >  body text

github - Why is there no .git folder generated after git init? Without this folder, local code cannot be uploaded to the warehouse.

I can’t upload local code to the warehouse using github for window. I can’t even commit to master. It seems there is no .git file

PHPzPHPz2794 days ago982

reply all(5)I'll reply

  • 世界只因有你

    世界只因有你2017-05-02 09:37:02

    Are you sure your git is installed correctly?

    If git is installed correctly, git init还是不行的话,你可以从远程先建立好Repo,然后,使用git cloneDownload the Repo locally and start working again.

    reply
    0
  • 怪我咯

    怪我咯2017-05-02 09:37:02

    First of all, the .git file is a hidden file in Windows..
    Secondly, have you added the file to the cache?

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-02 09:37:02

    Try opening "Hidden Projects" in "View", the .git file is hidden.

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-02 09:37:02

    Post an error reporting interface

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-02 09:37:02

    I think you need to check that your git本地安装是否有问题,还有你是否生成对应的RSAkey is added to the corresponding remote. I’ll give you a Git reference, I hope it will be helpful to you

    reply
    0
  • Cancelreply