我正在尝试将我的内核源代码推送到 github,但出现错误:
$ git push origin master
Write failed: Broken pipe13/37078), 10.77 MiB | 65 KiB/s
fatal: The remote end hung up unexpectedly
error: pack-objects died of signal 13
error: failed to push some refs to 'git@github.com:Lopicl/ThunderKernel_cooperve.git'
请问,我怎么办?
我也尝试分叉一个 repo 并尝试推送一个提交,但我收到了这个错误:
To git@github.com:Lopicl/thunderkernel_cooperve.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'git@github.com:Lopicl/thunderkernel_cooperve.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
所以我尝试拉回购并:
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use 'git add/rm <file>'
as appropriate to mark resolution, or use 'git commit -a'.
现在我不知道该怎么办。