我使用的是Git 1.7.4.1。我想將我在一個文件夾上做的提交推送到遠程倉庫。如何只將更改從一個文件夾推送到遠程回購?所有的文檔,我只找到列出如何推動整個回購...只推送一個文件夾到遠程回購
davea-mbp2:systems davea$ git push origin trunk
Password:
To http://[email protected]/systems.git
! [rejected] trunk -> trunk (non-fast-forward)
error: failed to push some refs to 'http://[email protected]/systems.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.
我被警告不要套用到我要推的文件夾中的衝突。任何幫助表示讚賞, - 戴夫