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对版本文件库的管理的工作目录相关推荐

  1. 关于git远程版本库的一些问题之解决

    Part1:CentOS6.5免密码登录 修改/etc/ssh/sshd_config RSAAuthentication yes PubkeyAuthentication yes Authorize ...

  2. Git分布式版本控制系统简介和使用

    Git是一款免费.开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目.[1] Git的读音为/gɪt/. Git是一个开源的分布式版本控制系统,可以有效.高速的处理从很小到非常大的项目版本 ...

  3. git diff Git查看版本改动

    git diff git diff命令用于显示提交和工作树等之间的更改.此命令比较的是工作目录中当前文件和暂存区域快照之间的差异,也就是修改之后还没有暂存起来的变化内容. 描述 在工作树和索引或树之间 ...

  4. 22-07-14 西安 Git 分布式版本控制系统 、代码管理

    Git是目前世界上最先进的分布式版本控制系统,Git可以做源代码管理 Git的诞生 Linus (Linus Torvalds 林纳斯.托瓦斯)是在BitKeeper停止向开源社区提供免费版本后开发了 ...

  5. git版本回退命令_Git学习版本回退和管理文件的修改及删除操作

    版本回退 前面我们成功的提交了一次mygit.txt,下面咱对它进行修改,内容如下: Hello Git Git is so easy. 然后用git status来跟踪该文件的状态: 可以看到hel ...

  6. Git学习系列(三)版本回退和管理文件的修改及删除操作

    版本回退 前面我们成功的提交了一次mygit.txt,下面咱对它进行修改,内容如下: Hello Git Git is so easy. 然后用git status来跟踪该文件的状态: 可以看到hel ...

  7. javascript原理_JavaScript程序包管理器工作原理简介

    javascript原理 by Shubheksha 通过Shubheksha JavaScript程序包管理器工作原理简介 (An introduction to how JavaScript pa ...

  8. 使用Git分布式版本控制系统

    GIT(分布式版本控制系统) Git是一款免费.开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目. Git是一个开源的分布式版本控制系统,可以有效.高速的处理从很小到非常大的项目版本管理 ...

  9. Git学习笔记:分支管理3

    前言 在补习python的时候主要参考的是廖雪峰的教程Python教程,在学习完后准备完成期末作业时,遇到了一个技术难题,需要初步掌握git,因此开始了git的学习. 本教程参考廖雪峰的Git教程 G ...

最新文章

  1. OpenCV中 Mat 按行或按列合并程序
  2. u-boot启动过程
  3. Devstack — screen 调试工具的使用
  4. 约翰诺曼超级计算机研究中心,第433章 拉泽尔松教授的决定
  5. 长安大学计算机科学与技术(交通信息工程)课程专业课,长安大学硕士专业交通信息工程及控制介绍...
  6. Hybris UI的Route(路由)实现
  7. geoserver发布瓦片_Geoserver2.15.1配置自带GeoWebCache 插件发布ArcGIS Server瓦片
  8. Nature、Science、Cell全加入!80家学术机构新冠研究全部免费
  9. Git CMD - diff: Show changes between commits, commit and working tree, etc
  10. 从主机名谈Hadoop集群管理
  11. python unique函数_每30秒学会一个Python小技巧,GitHub星数4600+
  12. 集成Atlas到现有的网站项目中--决定弃用Ajaxpro转用Atlas了
  13. bzoj5056:OI游戏
  14. 北大学霸不当外交官,回国种地养猪终于熬出年销2000万
  15. 用python快速导出浏览器的标头(headers)
  16. 第5章-1 输出星期名缩写 (70 分)
  17. excel单元格内容拆分_Excel技巧:帮你把单元格内容颠倒顺序显示
  18. 三星s10刷linux,三星S10/S10+刷入TWRP_Recovery最新版教程
  19. 求平面两圆公切线 切点坐标
  20. 夜天之书 #78 共建的神话

热门文章

  1. MySql中 delimiter 详解
  2. is not allowed to connect to this MySql
  3. python中文正则匹配初步使用
  4. mysql8 php7_在centos7安装nginx+mysql8+php7(LNMP)
  5. iOS标准库中常用数据结构和算法之二叉排序树
  6. 51NOD 1594:Gcd and Phi——题解
  7. Centos6.5下升级Python版本
  8. 云将与行业走向深度融合
  9. Android 自己定义View须要重写ondraw()等方法
  10. linux 系统如何防止攻击