git - Should I use separate branches when hosting at heroku? -


i want upload following project heroku: https://github.com/eranbetzalel/tick-logger.

you've noticed doesn't contain "heroku files" (procfile, different configs, etc...).

i want create following configuration local repository:

  • heroku branch - contain "heroku files".
  • master branch - contain source code (no heroku stuff).

my plan regularly push local heroku branch heroku remote repository (to master branch) , push local master branch github remote repository (to master branch).

does make sense?

any suggestion better practices highly welcome.

this isn't idea.

it's best explicit project -- means making easier other developers figure out how stuff works.

with heroku, don't need add project, dependency file, , procfile (usually).

i'd vote in favor of including files directly @ top-level avoid future confusion.

i can't see benefit of keeping them separate.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -