作者:mobiledu2502917797 | 来源:互联网 | 2023-10-13 13:44
1.私有服务器搭建的环境,先clone下来了
1 2 3 4 5 6 7 8 9 10 11
| git add .
git commit -m "提交"
git push
xxx@xxx.xx.xxx.xxx's password:
To 47.92.137.186:/xx/xx/xx.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'xx@xxx.xx.xxx.xxx:/xx/xx/xx.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: 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. |
就这样了...
第一次提交就这样的!!...
一直用的一个公钥!!!