git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git Architecture Question
@ 2010-12-28 16:54 Anuj Gakhar
  2010-12-28 17:23 ` Manuel Doninger
  2010-12-29  3:58 ` Maaartin
  0 siblings, 2 replies; 3+ messages in thread
From: Anuj Gakhar @ 2010-12-28 16:54 UTC (permalink / raw)
  To: git

Hi all,

I am new to Git and learning this powerful tool these days.

I have a simple question :-

I work on a project that has 3 different environments. dev, staging  
and production. dev is obviously the local git repo that all dev's  
work on. staging is where most of the development takes places on a  
daily basis. and production is where least development happens but we  
still do it because sometimes we have to fix things quickly directly  
on the production server.

So how should I set this up ?

2 branches staging and master (default) ?

How can I make it so that the staging branch gets deployed to a  
different folder on the server and the master branch gets deployed on  
a different folder ?

Once a week, we would merge all the staging work into production and  
make a release.

Any ideas ?


Anuj Gakhar
www.anujgakhar.com
www.anshconsulting.co.uk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-29  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-28 16:54 Git Architecture Question Anuj Gakhar
2010-12-28 17:23 ` Manuel Doninger
2010-12-29  3:58 ` Maaartin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).