Re: [PATCH 1/6] gittutorial doc: replace "alice" and "bob" with "you" and "www-data"
From: Felipe Contreras <hidden>
Date: 2021-06-16 21:04:12
From: Felipe Contreras <hidden>
Date: 2021-06-16 21:04:12
Bagas Sanjaya wrote:
On 15/06/21 23.17, Ævar Arnfjörð Bjarmason wrote:quoted
-Suppose that Alice has started a new project with a Git repository in -/home/alice/project, and that Bob, who has a home directory on the -same machine, wants to contribute. +Suppose that you've started a new project with a Git repository in +/home/you/project, and you'd like another user on the same local +machine to be able to contribute to it. E.g. a www-data user to serve +the content up with a webserver. -Bob begins with: +As the `www-data` user do: > ------------------------------------------------ -bob$ git clone /home/alice/project myrepo +www-data$ git clone /home/you/project /var/www-data/deployment ------------------------------------------------This assumes that we're on Debian or its derivatives,
True, and not all derivatives. In Ubuntu it's /var/www/. -- Felipe Contreras