git对版本文件库的管理的工作目录
生活随笔
收集整理的這篇文章主要介紹了
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屬性存儲模版,文件模版等等信息。
總結
以上是生活随笔為你收集整理的git对版本文件库的管理的工作目录的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Alluxio 安装与配置
- 下一篇: 魔兽世界怀旧服烤鲑鱼食谱怎么得?烤鲑鱼食