Good day,
On remote server I have:
- repository /git/project.git
- clone /individual/user/project/www (remote removed)
- clone /alpha/project/www (remote is set)
- clone /stable/project/www (remote is set)
On local machine:
- clone MAMP/htdocs/project (remote is set)
I use sftp connection to /individual/user/project to see changes in real-time and merging data from /individual/user/project to /alpha/project/ and after testing to /stable/project/
Question is:
- how can i by commit+push from local machine auto-update /alpha/project/ and then if everything is fine pull changes on /stable/project/
- how can i use special branches to auto-update specific remote folders, e.g.:
- by commit+push alpha branch auto-update /alpha/project/
- by commit+push stable branch auto-update /stable/project/
- how can i pull changes for /stable/project/ from my local machine
P.S. using Terminal, SourceTree, PhpStorm, gitolite
red Pro Git 1st Edition & Pro Git 2nd Edition