ruby on rails - Git workflow for a small team of developers and designers -


i'm getting lost git branching model , workflow want create team (developers + designers).

suppose project based on mvc pattern, have structure similar :

models/
controllers/
views/

developers works on m & c parts basic/generated views (rails, django or cakephp app example) , designers works on v part

how can manage developers works on m&c , keep basic crappy views, , in same time, designers make sexy views based on controllers actions coded , added developers progressively ?

i tried make works 3 branches :

master (production-ready)
dev
ui

but no idea how designer working on ui branch can keep code elsewhere /views updated working app...

thanks folks !

with git, there's no reason developers work on separate branch or have mocked views. have designers , developers work in same branch, on same codebase. when view done (or @ least improved , not crashing) have designer commit , push them master repository. same true developers: when local change 'done', have them commit , push it.

before pushing, each side needs pull (to ensure there no conflicts). if 2 groups working in mutually-exclusive pieces of code (separate files or separate parts of same files), pull update local copy , work well.

with this, both sides seeing up-to-date codebase, , contributing directly towards exact end goal, watching evolve.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -