We automate as much of our Symfony2 deployment as possible. The only manual part of the process is adding any newly added parameters to
We therefore require a way of seeing what parameters have been added between releases. This very simple command does exactly that. Just replace
$2 with the tags/branches/commits you wish to compare.
git diff $1:app/config/parameters.yml.dist $2:app/config/parameters.yml.dist --color=auto -p
This will give you a patch, so you can output this to a patch file and patch your parameters.yml file for convenience. Just remember to add any variable data such as database settings etc.
Of course this is applicable to creating a diff of any file on any project, but this is something we constantly found ourselves doing when deploying a Symfony2 app.
Alternatively (and what we did to start with) you can use github by simply adding
compare/$1...$2 (http://github.com/path/to/my/project/compare/1...2 for example) on to the end of your github url and then searching for the