git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/6] gittutorial doc: replace "alice" and "bob" with "you" and "www-data"

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Jun 16, 2021, 21:04 UTC
Message-ID
<60ca674883abc_6027208d5@natae.notmuch>
In-Reply-To
<8250d8af-2d52-321c-36a7-d71c29fc1ef1@gmail.com>
Bagas Sanjaya wrote:
Show 18 quoted lines
> On 15/06/21 23.17, Ævar Arnfjörð Bjarmason wrote:
> > -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
Previous: Junio C HamanoNext: Ævar Arnfjörð Bjarmason
Message 5 of 24 in “doc: replace "alice" and "bob" examples”
  1. 0/6 doc: replace "alice" and "bob" examplesÆvar Arnfjörð Bjarmason, Jun 15, 2021
  2. 1/6 gittutorial doc: replace "alice" and "bob" with "you" and "www-data"Ævar Arnfjörð Bjarmason, Jun 15, 2021
  3. Bagas SanjayaJun 16, 2021
  4. Junio C HamanoJun 16, 2021
  5. Felipe ContrerasJun 16, 2021
  6. Ævar Arnfjörð BjarmasonJun 17, 2021
  7. 2/6 gitcvs-migration doc: replace "alice" and "bob" with "you" and "www-data"Ævar Arnfjörð Bjarmason, Jun 15, 2021
  8. Bagas SanjayaJun 16, 2021
  9. 3/6 daemon doc + code comments: reword "alice" exampleÆvar Arnfjörð Bjarmason, Jun 15, 2021
  10. 4/6 fast-import doc: change "bob" in an example to "file.txt"Ævar Arnfjörð Bjarmason, Jun 15, 2021
  11. 5/6 doc: replace "alice" and "bob" with "jdoe" and "msmith"Ævar Arnfjörð Bjarmason, Jun 15, 2021
  12. 6/6 pack-protocol doc: use "www-data" in place of "alice"Ævar Arnfjörð Bjarmason, Jun 15, 2021
  13. Robert P. J. DayJun 15, 2021
  14. Ævar Arnfjörð BjarmasonJun 15, 2021
  15. Felipe ContrerasJun 15, 2021
  16. Ævar Arnfjörð BjarmasonJun 15, 2021
  17. Felipe ContrerasJun 16, 2021
  18. Phillip SusiJun 17, 2021
  19. Ævar Arnfjörð BjarmasonJun 17, 2021
  20. Junio C HamanoJun 16, 2021
  21. Robert P. J. DayJun 16, 2021
  22. Jeff KingJun 16, 2021
  23. Felipe ContrerasJun 16, 2021
  24. Randall S. BeckerJun 16, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.