解決
Andrewが提案したように、答えはサブツリーマージを使用することでした。
パーソナルWordpressリポジトリの作成
私はこれをリモートワードプレスリポジトリとして使用します-diffワードプレスバージョンのdiffブランチ
#Create new repo as the wordpress parent
mkdir wprepo && cd wprepo
git init
touch README
git add .
git commit -m 'initial commit'
#Add the github mirror as a remote repo
git remote add wordpress git://github.com/markjaquith/WordPress.git
#Get the tags
git fetch -t wordpress
#Merge with the required tag
git merge --squash --no-commit -s recursive -X theirs tags/3.3.2
git commit -m '3.3.2'
ローカル開発者
ローカルマシンに戻って、local.dev /を作成し、リモート開発リポジトリ(git --bare initを使用してWebサーバー上に作成)のクローンを作成しました。次に、サブツリーマージを使用して、ワードプレスリポジトリを追加しました。
#Create new repo as the wordpress parent
mkdir local.dev && cd local.dev
#Clone remote development repo
git clone ssh://gituser@remote_server_domain.com/home/gituser/gitrepo .
#Merge remote wordpress repo into core/
remote add -f core ssh://gituser@remote_server_domain.com/home/gituser/wprepo
git merge -s ours --no-commit core/master
git read-tree --prefix=core/ -u core/master
git commit -m 'merging wprepo into core/'
#Push changes to the remote dev repo
git push origin master
これを行うにはもっと簡単な方法があるかもしれませんが(知っている場合は教えてください)、それは私にとってはうまくいきました。以下の情報源から、ステップが一緒に石畳になりました。
ソース
http://jon.smajda.com/2011/07/17/wordpress-and-git/
http://joemaller.com/990/a-web-focused-git-workflow/
http://jasonkarns.com/blog/merge-two-git-repositories-into-one/