What are the best branching technique that are easy for developers and for the users? I am working on an new JS project and want to push it to GitHub. There are a few techniques that I can think of but don't know which one might be the best. There are several JS files, which should be available for development (normal + logs) and for production (minified and concatenated) and testfiles which aren't important for the normal user. I will use Gulp to create those minified files.
The current ideas:
- A common developer branch which is more or less a copy of the master one.
A master branch which only includes the minified files and not the test cases.
2.1. The developer branch will never be merged into master, which might be unusual for branches.
2.2. A normal user can download the master zip and will have only the files that are relevant.
I think that the second one will have the disadvantage that it's more complicated but I think it's more user friendly.
Are there any real disadvantages for the second point or maybe a third idea which is better?