我正在从只有我有权访问的存储库中提取。据我所知,我只从一个存储库推送到它。有几次,我尝试推动它并得到这个:
To jbaker@192.168.2.216:tsched_dev.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'jbaker@192.168.2.216:tsched_dev.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes before pushing again. See the 'Note about
fast-forwards' section of 'git push --help' for details.
一般来说,这只是意味着我必须做一个git pull
(尽管所有的更改都应该是可快速转发的)。当我做 agit pull
时,我会遇到冲突。如果我做 a git pull --rebase
,它工作正常。我究竟做错了什么?