1
當reading a tree using the github api時被接受:GitHub的API第3版:哪個base_tree SHA值寫入樹
GET /repos/:user/:repo/git/trees/:sha
可以傳遞
- 的提交的SHA,在這種情況下,它似乎自動在提交中解析爲樹,並可能爲您節省往返以從提交中獲取樹SHA。
- 或者只是通過樹的SHA
我在想,如果你也可以調用「創建樹」 API時傳遞提交的SHA爲base_tree
?
POST /repos/:user/:repo/git/trees
哦..你讓我...什麼是更新多個級別的最佳方法? –