您的位置:首页 > 其它

git对版本文件库的管理的工作目录

2018-01-03 18:07 190 查看
git 对于版本文件的管理算法和处理的脚本路径:(在安装目录下面)

total 1880
drwxr-xr-x 2 root root 4096 Oct 27 19:17 bin
drwxr-xr-x 19 root root 4096 Nov 21 09:30 embedded
drwxr-xr-x 4 root root 4096 Nov 21 09:30 etc
drwxr-xr-x 2 root root 4096 Oct 27 19:36 init
-rw-r--r-- 1 root root 1858327 Mar 8 2017 LICENSE
drwxr-xr-x 2 root root 4096 Oct 27 19:17 LICENSES
drwxr-xr-x 2 root root 4096 Oct 27 19:36 service
drwxr-xr-x 8 root root 4096 Oct 27 19:36 sv
drwxr-xr-x 3 root root 4096 Oct 27 19:36 var
-rw-r--r-- 1 root root 19560 Mar 8 2017 version-manifest.json
-rw-r--r-- 1 root root 8696 Mar 8 2017 version-manifest.txt
[root@ gitlab]# cd embedded/
[root@ embedded]# ll
total 84
drwxr-xr-x 2 root root 12288 Oct 27 19:17 bin
drwxr-xr-x 2 root root 4096 Oct 27 19:17 conf
drwxr-xr-x 6 root root 4096 Oct 27 19:36 cookbooks
drwxr-xr-x 2 root root 4096 Nov 21 09:30 etc
drwxr-xr-x 2 root root 4096 Jan 3 15:22 html
drwxr-xr-x 21 root root 4096 Oct 27 19:17 include
drwxr-xr-x 11 root root 12288 Oct 27 19:17 lib
drwxr-xr-x 3 root root 4096 Oct 27 19:17 libexec
drwxr-xr-x 2 root root 4096 Mar 8 2017 logs
drwxr-xr-x 5 root root 4096 Oct 27 19:17 man
drwxr-xr-x 2 root root 4096 Nov 21 09:30 nodes
drwxr-xr-x 4 root root 4096 Oct 27 19:17 postgresql
drwxr-xr-x 2 root root 4096 Oct 27 19:17 sbin
drwxr-xr-x 3 root root 4096 Oct 27 19:17 selinux
drwxr-xr-x 6 root root 4096 Oct 27 19:17 service
drwxr-xr-x 18 root root 4096 Oct 27 19:17 share
drwxr-xr-x 4 root root 4096 Oct 27 19:17 ssl
[root@sncdpreweb87 embedded]# cd etc
[root@sncdpreweb87 etc]#
[root@sncdpreweb87 etc]# ll
total 8
-rw-r--r-- 1 root root 26 Oct 27 19:36 90-omnibus-gitlab-net.core.somaxconn.conf
-rwxr-xr-x 1 root root 144 Oct 27 19:36 gitconfig
[root@ etc]# vi gitconfig
[root@ etc]# .
[root@sncdpreweb87 embedded]# cd nodes/
[root@sncdpreweb87 nodes]# ll
total 180
-rw-r--r-- 1 root root 182417 Nov 21 09:31 sncdpreweb87.json
[root@sncdpreweb87 nodes]# vi sncdpreweb87.json
[root@sncdpreweb87 nodes]#
[root@sncdpreweb87 nodes]#
[root@sncdpreweb87 nodes]# cd ..
[root@sncdpreweb87 embedded]# cd cookbooks/
[root@sncdpreweb87 cookbooks]# ll
total 28
drwxr-xr-x 4 root root 4096 Nov 21 09:30 cache
-rw-r--r-- 1 root root 39 Mar 8 2017 dna.json
drwxr-xr-x 9 root root 4096 Oct 27 19:17 gitlab
drwxr-xr-x 3 root root 4096 Oct 27 19:17 package
drwxr-xr-x 6 root root 4096 Oct 27 19:17 runit
-rw-r--r-- 1 root root 52 Mar 8 2017 show-config.json
-rw-r--r-- 1 root root 1026 Mar 8 2017 solo.rb
[root@ cookbooks]# cd gitlab/
[root@ gitlab]# ll
total 32
drwxr-xr-x 2 root root 4096 Oct 27 19:17 attributes
drwxr-xr-x 2 root root 4096 Oct 27 19:17 definitions
drwxr-xr-x 3 root root 4096 Oct 27 19:17 files
drwxr-xr-x 2 root root 4096 Oct 27 19:17 libraries
-rw-r--r-- 1 root root 334 Mar 8 2017 metadata.rb
drwxr-xr-x 2 root root 4096 Oct 27 19:17 recipes
drwxr-xr-x 2 root root 4096 Oct 27 19:17 resources
drwxr-xr-x 3 root root 4096 Oct 27 19:17 templates
[root@ gitlab]#
[root@ gitlab]#
[root@ gitlab]# cd ..
[root@ cookbooks]# cd package/
[root@ package]# ll
total 4
drwxr-xr-x 2 root root 4096 Oct 27 19:17 attributes
[root@ package]# cd attributes/
[root@ attributes]# ll
total 4
-rwxr-xr-x 1 root root 918 Mar 8 2017 default.rb
[root@ attributes]# cd ..
[root@ package]# cd ..
[root@ cookbooks]# cd runit/
[root@ runit]# ll
total 28
drwxr-xr-x 2 root root 4096 Oct 27 19:17 attributes
drwxr-xr-x 2 root root 4096 Oct 27 19:17 definitions
drwxr-xr-x 3 root root 4096 Oct 27 19:17 files
-rw-r--r-- 1 root root 369 Mar 8 2017 metadata.rb
-rw-r--r-- 1 root root 7840 Mar 8 2017 README.md
drwxr-xr-x 2 root root 4096 Oct 27 19:17 recipes
[root@ runit]#

首先是embeded下面的etc 文件夹下面的getconfig文件:

[pack]
threads = 1
[receive]
fsckObjects = true
[repack]
writeBitmaps = true
[transfer]
hideRefs=^refs/tmp/
hideRefs=^refs/keep-around/这个文件配置进程中对文件压缩的(bitmap)处理的线程数目=1;是否对bitmap修改 writebitmap=true

然后就是很重要的文件夹:cookbooks

这里面保存着package存储管理的元数据模版,attribute属性存储模版,文件模版等等信息。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐