Pro Git 2nd Edition 2.1.413[path]/etc/gitconfig file: Contains values applied to every user on the system and all their repositories. If you pass the option --system to git config, it reads and writes from this file specifically. Because this $ git config --global user.email johndoe@example.com Again, you need to do this only once if you pass the --global option, because then Git will always use that information for anything you do on that what you’re committing. For an even more explicit reminder of what you’ve modified, you can pass the -v option to git commit. Doing so also puts the diff of your change in the editor so you can0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413[path]/etc/gitconfig file: Contains values applied to every user on the system and all their repositories. If you pass the option --system to git config, it reads and writes from this file specifically. Because this $ git config --global user.email johndoe@example.com Again, you need to do this only once if you pass the --global option, because then Git will always use that information for anything you do on that remember what you’re committing. For an even more explicit reminder of what you’ve modified, you can pass the -v option to git commit. Doing so also puts the diff of your change in the editor so you can0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 [path]/etc/gitconfig file: Contains values applied to every user on the system and all their repositories. If you pass the option --system to git config, it reads and writes from this file specifically. Because this $ git config --global user.email johndoe@example.com Again, you need to do this only once if you pass the --global option, because then Git will always use that information for anything you do on that what you’re committing. For an even more explicit reminder of what you’ve modified, you can pass the -v option to git commit. Doing so also puts the diff of your change in the editor so you can0 码力 | 691 页 | 13.35 MB | 1 年前3
Gitea v1.21.1 中文文档OK 2. 3. { 4. "status": "pass", 5. "description": "Gitea: Git with a cup of tea", 6. "checks": { 7. "cache:ping": [ 8. { 9. "status": "pass", 10. "time": "2022-02-19T09:16:08Z" BookStack.CN 构建 11. } 12. ], 13. "database:ping": [ 14. { 15. "status": "pass", 16. "time": "2022-02-19T09:16:08Z" 17. } 18. ] 19. } 20. } 有关更多信息,请参考 /etc/gitea/conf/app.ini /var/lib/gitea 8. 9. # mysql 10. mysql --default-character-set=utf8mb4 -u$USER -p$PASS $DATABASE0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66147 [imap] folder = "[Gmail]/Drafts" host = imaps://imap.gmail.com user = user@gmail.com pass = YX]8g76G_2^sFbd port = 993 sslverify = false 如果 IMAP 服务器不使用 SSL,最后两行可能没有必要,host 的值会是 imap:// line.strip.split '=', 2 known[k] = v end File.readlines(path).each do |fileline| ④ prot,user,pass,host = fileline.scan(/^(.*?):\/\/(.*?):(.*?)@(.*)$/).first if prot == known['protocol'] and host "protocol=#{prot}" puts "host=#{host}" puts "username=#{user}" puts "password=#{pass}" exit(0) end end ① 我们在这里解析命令行参数,允许用户指定输入文件,默认是 ~/.git-credentials. ② 这个程序只有在接受到 get0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66件应该看起来像这样: [imap] folder = "[Gmail]/Drafts" host = imaps://imap.gmail.com user = user@gmail.com pass = YX]8g76G_2^sFbd port = 993 sslverify = false 如果 IMAP 服务器不使用 SSL,最后两行可能没有必要,host 的值会是 imap:// line.strip.split '=', 2 known[k] = v end File.readlines(path).each do |fileline| ④ prot,user,pass,host = fileline.scan(/^(.*?):\/\/(.*?):(.*?)@(.*)$/).first if prot == known['protocol'] and host "protocol=#{prot}" puts "host=#{host}" puts "username=#{user}" puts "password=#{pass}" exit(0) end end 我们在这里解析命令行参数,允许用户指定输入文件,默认是 ~/.git-credentials. 这个程序只有在接受到 get 行为0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













