I am trying to figure out how to use a Drupal mirror on a Git hub. I am new to Git, but developed the following:
Configure Grup Drupal Repository
* git init * git remote add drupal git://github.com/drupal/drupal.git * git fetch drupal * git tag * git merge <tag_name>
Make a branch for my site
* git branch <my_site> * git checkout <my_site> * git add . * git commit -a
Update kernel
* git checkout master * git fetch drupal * git tag * git merge <new_versions_tag>
My_sites kernel update
* git checkout <my_site> * git rebase master
I keep a separate branch for each of my sites. Each branch simply stores a separate directory of sites, because I do not crack the kernel. I experimented, and it looks like I could do everything as a merger without conflict, but my limited reading makes me sound like the correct answer.
I am not interested in developing a module in this repo. I do not support it on my server for direct deployment. I save it locally for testing updates and as source material for a shell script for deployment.
What do the right solutions look like?
source share