Gitea v1.21.1 中文文档\ 18. --home-dir /home/git \ 19. --create-home \ 20. git 1. mkdir -p /var/lib/gitea/{custom,data,log} 2. chown -R git:git /var/lib/gitea/ 3. chmod -R 750 /var/lib/gitea/ 4. mkdir /etc/gitea 书栈网 · BookStack.CN 构建 Gitea 将从 CustomPath 中查找许多信息。默认的,这会在运行 Gitea 时当前工作目录下的 custom/ 目录中(译 者案:即 $PATH_TO_YOUR_GITEA$/custom/ )。它还将在 $(CustomPath)/conf/app.ini 中查找其配置文件 CustomConf , 并将当前工作目录用作一些可配置值的相对基本路径 环境变量来更改这些默认值。适当的设置如下: 要设置 CustomPath ,请使用 LDFLAGS="-X \"code.gitea.io/gitea/modules/setting.CustomPath=custom-path\"" 对于 CustomConf ,应该使用 -X \"code.gitea.io/gitea/modules/setting.CustomConf=conf.ini\"0 码力 | 303 页 | 3.88 MB | 1 年前3
Pro Git 2nd Edition 2.1.413Submodule Tips Issues with Submodules Bundling Replace Credential Storage Under the Hood A Custom Credential Cache Summary Customizing Git Git Configuration Basic Client Configuration Colors Subversion Git and Mercurial Git and Perforce Migrating to Git Subversion Mercurial Perforce A Custom Importer Summary Git Internals Plumbing and Porcelain Git Objects Tree Objects Commit Objects round out your knowledge of Git so that you are truly a master. Chapter 8 is about configuring your custom Git environment. This includes setting up hook scripts to enforce or encourage customized policies0 码力 | 731 页 | 21.49 MB | 1 年前3
Pro Git 2nd Edition 2.1.413 Submodule Tips Issues with Submodules Bundling Replace Credential Storage Under the Hood A Custom Credential Cache Summary Customizing Git Git Configuration Basic Client Configuration Colors Subversion Git and Mercurial Git and Perforce Migrating to Git Subversion Mercurial Perforce A Custom Importer Summary Git Internals Plumbing and Porcelain Git Objects Tree Objects Commit Objects round out your knowledge of Git so that you are truly a master. Chapter 8 is about configuring your custom Git environment. This includes setting up hook scripts to enforce or encourage customized policies0 码力 | 691 页 | 13.35 MB | 1 年前3
Pro Git 2nd Edition 2.1.413round out your knowledge of Git so that you are truly a master. Chapter 8 is about configuring your custom Git environment. This includes setting up hook scripts to enforce or encourage customized policies can work the way you want to. We will also cover building your own set of scripts to enforce a custom committing policy. Chapter 9 deals with Git and other VCSs. This includes using Git in a Subversion extending Git through tools like libgit2 and JGit. If you’re interested in writing complex and fast custom tools and need low-level Git access, this is where you can see what that landscape looks like.0 码力 | 501 页 | 17.96 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66%h by %aN at %cd%n%+w(76,6,9)%B$' > LAST_COMMIT $ git commit -am 'export-subst uses git log'\''s custom formatter git archive uses git log'\''s `pretty=format:` processor directly, and strips the surrounding Last commit: 312ccc8 by Jim Hill at Fri May 8 09:14:04 2015 -0700 export-subst uses git log's custom formatter git archive uses git log's `pretty=format:` processor directly, and git_odb_backend 结构。 它看起来_应该_是这样的: 471 typedef struct { git_odb_backend parent; // 其它的一些东西 void *custom_context; } my_backend_struct; int git_odb_backend_mine(git_odb_backend **backend_out, /*…*/) {0 码力 | 501 页 | 19.30 MB | 1 年前3
Pro Git 中文版 第2版 2.1.66%h by %aN at %cd%n%+w(76,6,9)%B$' > LAST_COMMIT $ git commit -am 'export-subst uses git log'\''s custom formatter git archive uses git log'\''s `pretty=format:` processor directly, and strips the surrounding Last commit: 312ccc8 by Jim Hill at Fri May 8 09:14:04 2015 -0700 export-subst uses git log's custom formatter git archive uses git log's `pretty=format:` processor directly, and git_odb_backend 结构。 它看起来_应该_是这样的: typedef struct { git_odb_backend parent; // 其它的一些东西 void *custom_context; } my_backend_struct; int git_odb_backend_mine(git_odb_backend **backend_out, /*…*/) {0 码力 | 670 页 | 13.59 MB | 1 年前3
共 6 条
- 1













