1
0
mirror of synced 2025-12-23 21:07:12 -05:00
Files
docs/content/rest/git/trees.md
2022-10-24 15:32:32 +00:00

19 lines
719 B
Markdown

---
title: Git trees
shortTitle: Trees
allowTitleToDifferFromFilename: true
intro: 'The Git trees API lets you read and write tree objects to your Git database on {% data variables.product.product_name %}.'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- API
miniTocMaxHeadingLevel: 3
---
## About the Git trees API
A Git tree object creates the hierarchy between files in a Git repository. You can use the Git tree object to create the relationship between directories and the files they contain. These endpoints allow you to read and write [tree objects](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects#_tree_objects) to your Git database on {% data variables.product.product_name %}.