Ignore:
Timestamp:
01/12/2021 08:44:00 AM (3 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
e342f1a
Parents:
c513d6e6
Message:

Add a note to hide absolte paths to projects

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24110 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gitserver.xml

    rc513d6e6 r3741962  
    218218          distiguished as the local user name (see
    219219          <filename>~/.gitconfig</filename>) is recorded in the
    220           changesets.</para>
     220          changesets.
     221        </para>
    221222      </note>
    222223
     
    228229        for public read-only access.
    229230      </para>
     231
     232      <para>
     233        In the URL used to clone the project, the absolute path (here
     234        <filename>/srv/git/project1.git</filename>) has to be specified
     235        as the repository is not in git's home directory but in
     236        <filename class="directory">/srv/git</filename>. To get rid of the
     237        need to expose the structure of the server installation, a symlink
     238        can be added in git's home directory for each project like this:
     239      </para>
     240<screen role="nodump"><userinput>ln -svf /srv/git/project1.git /home/git/</userinput></screen>
     241
     242      <para>
     243        Now, the repository can be cloned using
     244      </para>
     245<screen role="nodump"><userinput>git clone git@gitserver:project1.git</userinput></screen>
    230246
    231247    </sect3>
Note: See TracChangeset for help on using the changeset viewer.