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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bagas Sanjaya wrote:
> 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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux