Ignore:
Timestamp:
09/06/2021 05:42:49 PM (3 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
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:
fef4473
Parents:
7999839
Message:

Remove spaces at the end of lines

I know it is somewhat useless, but I don't like them for
two reasons: first they cannot be seen, and I do not like things I
cannot see. Second, git highlights them, and this is disturbing...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/gitserver.xml

    r7999839 r8558044  
    2323      This section will describe how to set up, administer and secure a
    2424      <application>git</application> server. <application>Git</application>
    25       has many options available. For more detailed documentation see 
    26       <ulink url="https://git-scm.com/book/en/v2"/>. 
     25      has many options available. For more detailed documentation see
     26      <ulink url="https://git-scm.com/book/en/v2"/>.
    2727    </para>
    2828
     
    6868        Putting in an unuable password hash (replacing the <literal>!</literal>
    6969        by <literal>NP</literal>) unlocks the account but it cannot be used
    70         to login via password authentication. That is required by 
     70        to login via password authentication. That is required by
    7171        <application>sshd</application> to work properly.
    7272        Next, create some files and directories in the home directory of the git user
    7373        allowing access to the git repository using ssh keys.
    7474      </para>
    75      
     75
    7676<screen role="root"><userinput>install -o git -g git -dm0700 /home/git/.ssh &amp;&amp;
    7777install -o git -g git -m0600 /dev/null /home/git/.ssh/authorized_keys</userinput></screen>
     
    8989
    9090      <para>
    91         It is also useful to set the default name of the initial branch 
     91        It is also useful to set the default name of the initial branch
    9292        of new repositories by modifying the git configuration. As the
    9393        <systemitem class='username'>root</systemitem> user, run:
     
    103103        can be executed:
    104104      </para>
    105      
     105
    106106<screen role="root"><userinput>echo "/usr/bin/git-shell" &gt;&gt; /etc/shells</userinput></screen>
    107107
     
    123123        <para>
    124124          In all the instructions below, we use <emphasis>project1</emphasis>
    125           as an example repository name.  You should name your repository 
     125          as an example repository name.  You should name your repository
    126126          as a short descriptive name for your specific project.
    127127        </para>
     
    132132git init --bare                                      &amp;&amp;
    133133chown -R git:git .</userinput></screen>
    134    
     134
    135135    </sect3>
    136136
     
    171171      <note>
    172172        <para>
    173           The <emphasis>gitserver</emphasis> term used below 
    174           should be the host name (or ip address) of the git server. 
     173          The <emphasis>gitserver</emphasis> term used below
     174          should be the host name (or ip address) of the git server.
    175175        </para>
    176176      </note>
     
    188188
    189189      <para>The initial content is now pushed to the server and
    190         is available for other users. On the current machine, the 
     190        is available for other users. On the current machine, the
    191191        argument <literal>--set-upstream origin trunk</literal> is
    192192        now no longer required as the local repository is now
     
    196196
    197197<screen role="nodump"><userinput>git push</userinput></screen>
    198      
     198
    199199      <para>
    200200        Other developers can now clone the repository and do
     
    230230
    231231      <para>
    232         In the URL used to clone the project, the absolute path (here 
     232        In the URL used to clone the project, the absolute path (here
    233233        <filename>/srv/git/project1.git</filename>) has to be specified
    234234        as the repository is not in git's home directory but in
     
    252252        The setup described above makes a repository available for
    253253        authenticated users (via providing the ssh public key file).
    254         There is also a simple way to publish the 
     254        There is also a simple way to publish the
    255255        repository to unauthenticated users &mdash; of course without write
    256256        access.
     
    262262        daemon is in most cases enough for a development site.
    263263      </para>
    264      
     264
    265265      <note>
    266266        <para>
     
    344344            </para>
    345345            <para>Specify the location of the git repositories.
    346               Relative paths used when accessing the daemon will 
     346              Relative paths used when accessing the daemon will
    347347              translated relative to this directory.
    348348            </para>
     
    381381
    382382      <para>
    383         As the base directory is <filename class="directory">/srv/git</filename> 
     383        As the base directory is <filename class="directory">/srv/git</filename>
    384384        by default (or set to a custom value in the configuration),
    385385        <application>git</application> interprets the incoming path
     
    388388        served.
    389389      </para>
    390      
     390
    391391    </sect3>
    392392
Note: See TracChangeset for help on using the changeset viewer.