1. 程式人生 > >Git 版本不能推送的解決辦法

Git 版本不能推送的解決辦法

remote: (W) f4fa91f: commit subject >65 characters; use shorter first paragraph
remote: (W) 567b55c: commit subject >65 characters; use shorter first paragraph
To ssh://10.10.0.49:29418/A01-Wings_H2_ChargeBox
 ! [remote rejected] HEAD -> refs/for/charging-case-hwr4 (change http://10.10.0.                       49:8080/7163 closed)
error: failed to push some refs to 'ssh://

[email protected]:29418/A01-Wings_                       H2_ChargeBox'

解決辦法:

git rebase -i

git rebase -i origin/charging-case-hwr4
git rebase --continue

git rebase --edit-todo

 git rebase --continue