Ability to commit textContent directly to tree, without intermediate blobs
See original GitHub issuehttps://github.com/kohsuke/github-api/issues/360 introduces a way to commit multiple files in a single commit. The library API suggests it is possible to build a tree from text content without creating blob manually with org.kohsuke.github.GHTreeBuilder.textEntry(String, String, boolean)
.
However, this fails with:
{"message":"Must supply tree.sha or tree.content","documentation_url":"https://developer.github.com/v3/git/trees/#create-a-tree"}
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Node.textContent - Web APIs | MDN
The textContent property of the Node interface represents the text content of the node and its descendants.
Read more >hast/readme.md at main · syntax-tree/hast - GitHub
hast is a specification for representing HTML (and embedded SVG or MathML) as an abstract syntax tree. It implements the unist spec.
Read more >HTML Standard
HTML documents consist of a tree of elements and text. ... By contrast, an operation that is to run immediately must interrupt the...
Read more >HTML5 - W3C
HTML documents consist of a tree of elements and text. Each element is denoted in the source by a start tag, such as...
Read more >GIT Under The Hood - thisara udayantha
As per figure 3.0, the non-staged file remain without any change. ... Each commit will be pointing to a Tree object and it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bitwiseman I will look into it in the next few days.
Live now in v1.100. Thanks @siordache!