官术网_书友最值得收藏!

Trees

The tree is a container for blobs and other trees. The easiest way to understand how it works is to think about folders in your operating system, which also collect files and other subfolders inside them.

Let's try to see what this additional Git object holds, using again the git cat-file -p command:

[16] ~/grocery (master)
$ git cat-file -p a31c3
100644 blob 907b75b54b7c70713a79cc6b7b172fb131d3027d README.md
100644 blob 637a09b86af61897fb72f26bfb874f2ae726db82 shoppingList.txt

This tree, which we said is something that Git uses to identify a folder, also contains some additional objects, called blobs.

主站蜘蛛池模板: 铜陵市| 克东县| 洪江市| 彝良县| 武冈市| 赣榆县| 阜新| 长垣县| 谢通门县| 雅江县| 崇左市| 莆田市| 聂荣县| 大邑县| 盐源县| 五原县| 洛隆县| 彭泽县| 凭祥市| 乌苏市| 乐业县| 嘉义市| 梧州市| 志丹县| 上饶市| 甘泉县| 平阴县| 台北县| 同江市| 日土县| 象州县| 清徐县| 宜昌市| 丽水市| 尼勒克县| 宜良县| 湘西| 西丰县| 本溪市| 简阳市| 安吉县|