亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

mac下git無法提交代碼

mac下git無法提交代碼

Git
SMILET 2018-07-24 12:42:38
私有服務器搭建的環境,先clone下來了git add .git commit -m "提交"git [email protected]'s password:To 47.92.137.186:/xx/xx/xx.git ! [rejected]        master -> master (non-fast-forward)error: failed to push some refs to '[email protected]:/xx/xx/xx.git'hint: Updates were rejected because the tip of your current branch is behindhint: its remote counterpart. Integrate the remote changes (e.g.hint: 'git pull ...') before pushing again.hint: See the 'Note about fast-forwards' in 'git push --help' for details.就這樣了...第一次提交就這樣的??!...一直用的一個公鑰?。?!
查看完整描述

2 回答

?
慕容3067478

TA貢獻1773條經驗 獲得超3個贊

好好看看錯誤提示

hint: 'git pull ...') before pushing again.

先git pull ,再 git push


查看完整回答
反對 回復 2018-07-27
?
智慧大石

TA貢獻1946條經驗 獲得超3個贊

原因是node_modules這個文件夾和文件夾里面的內容不能提交??!

查看完整回答
反對 回復 2018-07-27
  • 2 回答
  • 0 關注
  • 1003 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號