One of the things that I realized while working on Rookeries, is that the server and client have to be more or less developed in sync. In theory one could develop these in parallel, however a function needs to be build on both sides. Since for the most part, I’m building Rookeries by myself having two separate repositories only gives me more things to maintain.
So I decided to merge the rookeries-react-app repository back into the rookeries repository. I used the instructions found in this post on merging git repositories to successfully achieve that.. In case this played out as:
git clone https://bitbucket.org/dorianpula/react-rookeries-app temp cd temp git filter-branch --prune-empty --tree-filter ' if [[ ! -e client ]]; then mkdir -p client git ls-tree --name-only $GIT_COMMIT | xargs -I files mv files client fi' cd .. git clone https://bitbucket.org/dorianpula/rookeries rookeries-next cd rookeries-next git remote add --fetch temp ../temp git merge -s ours --no-commit temp/master git read-tree --prefix=client/ -u temp/master git commit -m "Merged rookeries-react-app in rookeries" git pull -s subtree temp master git push origin master