Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git web workflow with dev, stage and live site

Tags:

git

php

workflow

I'm a little bit confused about the workflows i've found. Is it right to have a bare repo, a stage repo , a live repo and a stage repo ? Isn't it really large for big projects ? I mean, so the space is four times bigger ...

Or what else can i do ? one bare repo, which copies the files ?

like image 434
Nils Rückmann Avatar asked Feb 01 '26 06:02

Nils Rückmann


1 Answers

You probably want to use branches. http://progit.org/book/ch3-1.html

like image 190
Vitamin Avatar answered Feb 03 '26 19:02

Vitamin