我使用
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.
我被警告的冲突不适用于我要推送的文件夹.任何帮助是赞赏, – 戴夫