Pro Git 2nd Edition 2.1.413
necessarily true. Also, while your choice of graphical client is a matter of personal taste, all users will have the command-line tools installed and available. So we will expect you to know how to open $ sudo dnf install asciidoc xmlto docbook2X $ sudo apt-get install asciidoc xmlto docbook2x Users of RHEL and RHEL-derivatives like CentOS and Scientific Linux will have to enable the EPEL repository [path]/etc/gitconfig. On Windows systems, Git looks for the .gitconfig file in the $HOME directory (C:\Users\$USER for most people). It also still looks for [path]/etc/gitconfig, although it’s relative to the0 码力 | 731 页 | 21.49 MB | 1 年前3Pro Git 2nd Edition 2.1.413
necessarily true. Also, while your choice of graphical client is a matter of personal taste, all users will have the command-line tools installed and available. So we will expect you to know how to open $ sudo dnf install asciidoc xmlto docbook2X $ sudo apt-get install asciidoc xmlto docbook2x Users of RHEL and RHEL-derivatives like CentOS and Scientific Linux will have to enable the EPEL repository [path]/etc/gitconfig. On Windows systems, Git looks for the .gitconfig file in the $HOME directory (C:\Users\$USER for most people). It also still looks for [path]/etc/gitconfig, although it’s relative to the0 码力 | 501 页 | 17.96 MB | 1 年前3Pro Git 2nd Edition 2.1.413
necessarily true. Also, while your choice of graphical client is a matter of personal taste, all users will have the command-line tools installed and available. So we will expect you to know how to open $ sudo dnf install asciidoc xmlto docbook2X $ sudo apt-get install asciidoc xmlto docbook2x Users of RHEL and RHEL-derivatives like CentOS and Scientific Linux will have to enable the EPEL repository [path]/etc/gitconfig. On Windows systems, Git looks for the .gitconfig file in the $HOME directory (C:\Users\$USER for most people). It also still looks for [path]/etc/gitconfig, although it’s relative to the0 码力 | 691 页 | 13.35 MB | 1 年前3Gitea v1.21.1 中文文档
该文件应该看起来像: 1. # SSH pubkey from git user 2. ssh-rsa3. 4. # other keys from users 5. command="/usr/local/bin/gitea --config=/data/gitea/conf/app.ini serv key-1",no-port-forwarding --synchronize-users :启用用户同步。 --page-size value :搜索页面大小。 示例: gitea admin auth add-ldap --name ldap --security-protocol unencrypted --host mydomain.org --port 389 --user-search-base "ou=Users,dc=mydomain --bind-password value :绑定 DN 的密码(如果有)。 --attributes-in-bind :在绑定 DN 上下文中获取属性。 --synchronize-users :启用用户同步。 --page-size value :搜索页面大小。 示例: gitea admin auth update-ldap --id 1 --name "my ldap auth 0 码力 | 303 页 | 3.88 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
目录下(一般情况下是 C:\Users\$USER )的 .gitconfig 文件。 Git 同样也会寻找 /etc/gitconfig 文件,但只限于 MSys 的根目录下,即安装 Git 时所选的目标位置。 如果 你在 Windows 上使用 Git 2.x 以后的版本,那么还有一个系统级的配置文件,Windows XP 上在 C:\Documents and Settings\All Users\Application 来控制它,那么首先需要进入该项目目录中。 如果你还 没这样做过,那么不同系统上的做法有些不同: 在 Linux 上: $ cd /home/user/my_project 在 macOS 上: $ cd /Users/user/my_project 在 Windows 上: $ cd /c/user/my_project 之后执行: $ git init 该命令将创建一个名为 .git 的子目录,这个子目录含有你初始化的 对象的形式包含他们的公钥,并添加一个直接指向该内容的标签。 要完成这一 任务,首先你可以通过运行 gpg --list-keys 找出你所想要的 key: $ gpg --list-keys /Users/schacon/.gnupg/pubring.gpg --------------------------------- pub 1024D/F721C45A 2009-02-09 [expires:0 码力 | 501 页 | 19.30 MB | 1 年前3Pro Git 中文版 第2版 2.1.66
C:\Users\$USER )的 .gitconfig 文件。 Git 同样也会寻找 /etc/gitconfig 文件,但只限于 MSys 的根目录下,即安装 Git 时所选的目标位置。 如果你在 Windows 上使用 Git 2.x 以后的版本,那么还有一个系统级的配置文件, Windows XP 上 在 C:\Documents and Settings\All Users\Application 需要进入该项目目录中。 如果你还没这样做过,那么不同系统上的做法有些 不同: 在 Linux 上: $ cd /home/user/my_project 在 macOS 上: $ cd /Users/user/my_project 在 Windows 上: $ cd /c/user/my_project 之后执行: $ git init 该命令将创建一个名为 .git 的子目录,这个子目录含有你初始化的 对象的形式 包含他们的公钥,并添加一个直接指向该内容的标签。 要完成这一任务,首 先你可以通过运行 gpg --list-keys 找出你所想要的 key: $ gpg --list-keys /Users/schacon/.gnupg/pubring.gpg --------------------------------- pub 1024D/F721C45A 2009-02-09 [expires:0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1