Exclude package-lock.json from GitHub contribution activity

后端 未结 2 1721
一整个雨季
一整个雨季 2021-02-05 07:41

Now that npm v5.0.0 is out, using npm packages auto-generates a package-lock.json on npm install. In my case, my package-lock.json file ha

2条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-05 08:16

    Run

    git config --global user.email "you@example.com"
    
    git config --global user.name "Your Name"
    

    to set your account's default identity.

    Omit --global to set the identity only in this repository.

提交回复
热议问题