Page tree
Skip to end of metadata
Go to start of metadata

Add the git flatten command

Clone this and put its bin directory in your path: https://github.com/mbklein/git-tweaks

Flatten

All you have to do to flatten is switch to the branch you want to flatten (master), then flatten and push:

 

git checkout master
git pull origin master
git submodule update
git flatten -f flat
git push -f origin flat

 

Get back to the modularized master

Get the modules directory out of the way or git will complain of conflicts when you try to switch back to master. Then the reset --hard fixes that.

 

rm -rf modules
git checkout master
git reset --hard
git submodule update

Get the archives for distribution

https://github.com/avalonmediasystem/avalon-installer/archive/flat.tar.gz

https://github.com/avalonmediasystem/avalon-installer/archive/flat.zip

Copy them to sycamore and symlink at /srv/php/vov-prod-8803/htdocs/downloads

 

  • No labels