Skip to main content

My solution was to create a shared folder for all repositories named /home/repo/home/repo.

thenThen symlink from my own home like: ln -s /home/repo ~/Code
ln -s /home/repo ~/Code so ~/Code/www.xxxx.com/public~/Code/www.xxxx.com/public points to /home/repo/www.xxxx.com/public/home/repo/www.xxxx.com/public

and also a link into apache web root /var/www/html/var/www/html points to /home/repo/www.xxxx.com/public/home/repo/www.xxxx.com/public

foundFound it here: https://github.com/alghanmi/ubuntu-desktop_setup/wiki/Git-Local-Repository-Setup-Guide

withWith some symlink+user groups acrobacy you can have multiple users/versions deployed.

My solution was to create a shared folder for all repositories named /home/repo

then symlink from my own home like: ln -s /home/repo ~/Code
so ~/Code/www.xxxx.com/public points to /home/repo/www.xxxx.com/public

and also a link into apache web root /var/www/html points to /home/repo/www.xxxx.com/public

found it here: https://github.com/alghanmi/ubuntu-desktop_setup/wiki/Git-Local-Repository-Setup-Guide

with some symlink+user groups acrobacy you can have multiple users/versions deployed

My solution was to create a shared folder for all repositories named /home/repo.

Then symlink from my own home like: ln -s /home/repo ~/Code so ~/Code/www.xxxx.com/public points to /home/repo/www.xxxx.com/public

and also a link into apache web root /var/www/html points to /home/repo/www.xxxx.com/public

Found it here: https://github.com/alghanmi/ubuntu-desktop_setup/wiki/Git-Local-Repository-Setup-Guide

With some symlink+user groups acrobacy you can have multiple users/versions deployed.

Source Link
alo Malbarez
  • 1.1k
  • 1
  • 9
  • 9

My solution was to create a shared folder for all repositories named /home/repo

then symlink from my own home like: ln -s /home/repo ~/Code
so ~/Code/www.xxxx.com/public points to /home/repo/www.xxxx.com/public

and also a link into apache web root /var/www/html points to /home/repo/www.xxxx.com/public

found it here: https://github.com/alghanmi/ubuntu-desktop_setup/wiki/Git-Local-Repository-Setup-Guide

with some symlink+user groups acrobacy you can have multiple users/versions deployed