第一次push需要:
①git add --all 或者使用 git add .(所得的文件) | git add file.js(对用指定文件)
②git commit -m "提交信息"
③git remote add origin '远程仓库url'
④git push -u origin origin(对应远程分支名)
以后push需要:
①git add --all | git add .(所得的文件) | git add file.js(对用指定文件)
② git commit -m "信息"
③ git push