本地項目上傳到github中

註冊npm帳號

https://www.npmjs.com/git

建立github項目

clipboard.png

clipboard.png

打開cmd

  • cd + 項目github

  • git add .npm

  • git commit -m '內容'ide

  • git remove add origin '剛剛建立github項目路徑'spa

問題:empty ident name for null not allowed?
解決方法:
git config --global user.email "XXX@qq.com"
git config --global user.name"XXX" code

相關文章
相關標籤/搜索