A local file is uploaded to Ciyun and githup? using git

first of all, Code Cloud submission, because this folder is under Code Cloud remote warehouse clone, so there is no problem with associated submission
git add.
git commit-m "gitee"
git remote add gitee git@gitee.com:xxx/jkPT.git

then githup submission.
git add.
git commit-m "githup"
git remote add githup git@github.com:QGMan/jkPT.git
so far, no problem
Last step: git push-u githup master misreported

clipboard.png


$ ssh-keygen -t rsa -C "my@email.com" ssh-key

clipboard.png

solution, I just want to upload a local file to Ciyun and githup at the same time! I"m really worried about my IQ

Mar.07,2021

the warehouse version on your 'githup' is higher than your local warehouse version.

pull the content from 'githup' and merge it, and then push


".your current branch is behind its remote counterpart."
your branch version lags behind the corresponding remote version. If, git pull Synchronize is remote, submit


you try git remote-v may not be associated with a remote address

git remote add origin git

I have found a solution. I have tried all of the above but did not solve this problem. The problem is that, as you said, the version in the local warehouse lags far behind the submission number in the remote warehouse
my solution is: git push origin master-f mandatory submission

of course, when you encounter this problem, you'd better try to solve it with this method first:
modify the remote repository pull before push:
$git pull origin master
$git push-u origin master

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4391a-58fcb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4391a-58fcb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?