1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Files
docs/content/rest/git/trees.md
2025-01-22 11:12:58 +00:00

22 lines
827 B
Markdown

---
title: REST API endpoints for Git trees
shortTitle: Trees
allowTitleToDifferFromFilename: true
intro: >-
Use the REST API to interact with tree objects in your Git database on {% data
variables.product.github %}.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
ghes: '*'
topics:
- API
autogenerated: rest
---
## About Git trees
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.github %}.
<!-- Content after this section is automatically generated -->