V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
ideacco
V2EX  ›  科技

vscode 新人,为什么刚刚创建的项目 GIt 这边就显示 4k+了?

  •  
  •   ideacco · Dec 9, 2019 · 4112 views
    This topic created in 2337 days ago, the information mentioned may be changed or developed.

    RT,刚刚入坑 VSCODE,新建了一个 node 项目,发现左侧顶部第二栏的 git 按钮已经提示 4K+了,有点蒙,所以正确 git init 的方法是什么?谢啦

    2 replies    2019-12-09 16:08:48 +08:00
    bylh
        1
    bylh  
       Dec 9, 2019   ❤️ 1
    。。。这和 vscode 没关系,.gitignore 改下吧
    ideacco
        2
    ideacco  
    OP
       Dec 9, 2019
    @bylh 感谢,我发现原来我在上层目录的里面 init 了一下,然后就这样的了我删了.gitignore 和.git 两个文件,现在正常了非常感谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2401 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 10:16 · PVG 18:16 · LAX 03:16 · JFK 06:16
    ♥ Do have faith in what you're doing.