Suppose I clone from somewhere...
git clone git://test.git
cd test
Then I make 20 branches from the master branch...
git branch alt1
git branch alt2
....
git branch alt20
Then I make individual commits within each branch, so each branch has their own unique history.
Now several days pass and I decide to pull from the initial remote:
git checkout master
git pull
Which will work fine, but now I want to merge these new changes into the 20 branches I created earlier.
Obviously I can manually git checkout alt
and git merge master
within each branch, but I was wondering if I can automate this process just by doing git pull
earlier. Is this possible by configuring my repository somehow? Or is shell scripting the only way to automate this?