You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
340 B

  1. In build upstream bare repo (webserver:/usr/local/src/web/example.com/www/), run:
  2. # git worktree add /srv/beta/example.com/www master
  3. # git worktree add /srv/prod/example.com/www release
  4. # git config receive.denyCurrentBranch updateInstead
  5. # chown -R root:srv .
  6. # chmod -R g+xwX .
  7. and add your user (on the server) to the srv group.