From 1b6987d72d1703f49c6d81267d2bb872fc313a92 Mon Sep 17 00:00:00 2001 From: Daniel Sissom Date: Mon, 11 Dec 2023 16:17:01 -0600 Subject: [PATCH] Added more potential details in readme. --- README | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README b/README index 0e1d7f5..62d8dc7 100644 --- a/README +++ b/README @@ -1,11 +1,20 @@ In build upstream bare repo (webserver:/usr/local/src/web/example.com/www/), run: + # chown root:srv . + # chmod g+ws . # git init --bare --shared=group # git config receive.denyCurrentBranch updateInstead # git config receive.denyNonFastForwards false - ?(# git config core.sharedRepository true) + ?(# git config core.sharedRepository true) # if needed because of missing init option + +Set upstream and push branches to new bare repo, then run: # git worktree add /srv/prod/example.com/www master # git worktree add /srv/beta/example.com/www release # git worktree add /srv/dev/example.com/www dev + + # chmod -R g+w . + # chmod g+w /srv/*/example.com/www + + # chown -R root:srv . # chmod -R g+swX . # chown root:srv /srv/prod/example.com/www