我正在使用Git 1.7.4.1。我想要将我在一个文件夹中所做的提交推送到我的远程仓库。如何只推送一个文件夹的更改到远程仓库?所有我找到的文档都只列出了如何推送整个仓库的方法...
davea-mbp2:systems davea$ git push origin trunk
Password:
To http://dalvarado@mydomain.com/systems.git
! [rejected] trunk -> trunk (non-fast-forward)
error: failed to push some refs to 'http://dalvarado@mydomain.com/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.
我收到的冲突警告与我想推送的文件夹无关。感激不尽,- Dave