我想删除我的 repo,但我想确保我的所有变更集都已被推送。git log origin..HEAD
两者git log origin/master..master
都没有显示。但是,当我尝试时git push
,我得到:
To remote-repo
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '/van/work/nms/esteras/cmpt-bitArray-clean1.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
如果我没有本地更改,它不应该只是说Everything up-to-date
吗?如果我有传出更改,我怎么知道它们是什么?我可能不在乎他们,但我需要知道他们要决定什么。