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

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属性存储模版,文件模版等等信息。





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值