Pro Git 2nd Edition 2.1.413included) is the way Git thinks about its data. Conceptually, most other systems store information as a list of file-based changes. These other systems (CVS, Subversion, Perforce, and so on) think of the information an admin. You can view all of your settings and where they are coming from using: $ git config --list --show-origin Your Identity The first thing you should do when you install Git is to set your user your configuration settings, you can use the git config --list command to list all the settings Git can find at that point: $ git config --list user.name=John Doe user.email=johndoe@example.com color.status=auto0 码力 | 731 页 | 21.49 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413included) is the way Git thinks about its data. Conceptually, most other systems store information as a list of file-based changes. These other systems (CVS, Subversion, Perforce, and so on) think of the information an admin. You can view all of your settings and where they are coming from using: $ git config --list --show-origin Your Identity The first thing you should do when you install Git is to set your user your configuration settings, you can use the git config --list command to list all the settings Git can find at that point: $ git config --list user.name=John Doe user.email=johndoe@example.com color.status=auto0 码力 | 501 页 | 17.96 MB | 1 年前3
 Pro Git 2nd Edition 2.1.413 included) is the way Git thinks about its data. Conceptually, most other systems store information as a list of file-based changes. These other systems (CVS, Subversion, Perforce, and so on) think of the information an admin. You can view all of your settings and where they are coming from using: $ git config --list --show-origin Your Identity The first thing you should do when you install Git is to set your user your configuration settings, you can use the git config --list command to list all the settings Git can find at that point: $ git config --list user.name=John Doe user.email=johndoe@example.com color.status=auto0 码力 | 691 页 | 13.35 MB | 1 年前3
 Pro Git 中文版 第2版 2.1.66C:\ProgramData\Git\config 。此文件只能以管理员权限通过 git config -f来修 改。 你可以通过以下命令查看所有的配置以及它们所在的文件: $ git config --list --show-origin 25 用户信息 安装完 Git 之后,要做的第一件事就是设置你的用户名和邮件地址。 这一点很重要,因为每一个 Git 提交都会使 用这些信息,它们会写入到你的每一次提交中,不可更改: 例如,在 Windows 上 Git 在开始编辑时可能会过早地结束。 检查配置信息 如果想要检查你的配置,可以使用 git config --list 命令来列出所有 Git 当时能找到的配置: 26 $ git config --list user.name=John Doe user.email=johndoe@example.com color.status=auto color.branch=auto a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -119,3 +119,4 @@ at the ## Starter Projects See our [projects list](https://github.com/libgit2/libgit2/blob/development/PROJECTS.md). +# test line 38 然后用 git diff 0 码力 | 501 页 | 19.30 MB | 1 年前3
 Pro Git 中文版 第2版 2.1.66C:\ProgramData\Git\config 。此文件只能以管理员权限通过 git config -f来修改。 你可以通过以下命令查看所有的配置以及它们所在的文件: $ git config --list --show-origin 用户信息 安装完 Git 之后,要做的第一件事就是设置你的用户名和邮件地址。 这一点很 重要,因为每一个 Git 提交都会使用这些信息,它们会写入到你的每一次提交 例如, 在 Windows 上 Git 在开始编辑时可能会过早地结束。 检查配置信息 如果想要检查你的配置,可以使用 git config --list 命令来列出所有 Git 当 时能找到的配置: $ git config --list user.name=John Doe user.email=johndoe@example.com color.status=auto color.branch=auto a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -119,3 +119,4 @@ at the ## Starter Projects See our [projects list] (https://github.com/libgit2/libgit2/blob/development/PROJECTS.md). +# test line 然后用 git diff --cached 0 码力 | 670 页 | 13.59 MB | 1 年前3
 git 操作手册git config --global h�p.sslVerify false #不验证ssl证书 # git config --global --list #查看全局设置 ★本地设置 针 对 单 一 项 目 的 设 置 , 使 用 --local 参 数 , 本 地 设 置 信 #设置邮箱 # git config --local h�p.sslVerify false #不验证ssl证书 # git config --local --list #查看本地设置 ★系统设置 系统设置信息保存在/etc/gitconfig文件里 # git config --system config --system user.email cof@cof-lee.com # git config --system --list #查看系统设置 # git config --list #查看所有设置(全局+本地+系统) # git config user0 码力 | 35 页 | 1.69 MB | 1 年前3
 Gitea v1.21.1 中文文档命令行 - 58 - 本文档使用 书栈网 · BookStack.CN 构建 管理员操作: 命令: user : list : 选项: --admin :仅列出管理员用户。可选。 描述:列出所有现有用户。 示例: gitea admin user list delete : 选项: --email :要删除的用户的电子邮件。 --username :要删除的用户的用户名。 gitea admin regenerate hooks gitea admin regenerate keys auth : list : 描述:列出所有存在的外部认证源。 示例: gitea admin auth list delete : 选项: --id :要删除的源的 ID。必填。 示例: gitea admin auth delete --id 迁移数据库。该命令可用于在首次启动服务器之前运行其他命令。此命令是幂等的。 对 Gitea 实例进行诊断,可以修复一些可修复的问题。 默认只运行部分检查,额外的检查可以参考: gitea doctor check --list - 列出所有可用的检查 gitea doctor check --all - 运行所有可用的检查 gitea doctor check --default - 运行默认的检查 gitea0 码力 | 303 页 | 3.88 MB | 1 年前3
共 7 条
- 1
 













