Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

GitLink

Guides

  • Git Interfaces
  • GitLink
  • Git Reference Operations
  • Low Level Git Operations

Symbols

  • GitAdd
  • GitAddRemote
  • GitAheadBehind
  • GitBranchQ
  • GitCheckoutReference
  • GitClone
  • GitClose
  • GitCommit
  • GitCommitQ
  • GitCreateBranch
  • GitCreateTag
  • GitDeleteBranch
  • GitDeleteRemote
  • GitDeleteTag
  • GitExpandTree
  • GitFetch
  • GitInit
  • GitMergeBase
  • GitMerge
  • GitMoveBranch
  • GitObject
  • GitOpen
  • GitProperties
  • GitPull
  • GitRange
  • GitReadBlob
  • GitRemoteQ
  • GitRepo
  • GitRepoQ
  • GitRepos
  • GitReset
  • GitSetUpstreamBranch
  • GitSHA
  • GitSignature
  • GitStatus
  • GitType
  • GitUpstreamBranch
  • GitWriteBlob
  • GitWriteTree
  • ToGitObject
Wolfram`GitLink`
GitWriteTree
​
GitWriteTree
[{
obj
1
,
obj
2
,…}]
writes a git tree object with the entries indicated by
obj
i
.
​
Details
▪
GitWriteTree
is a low-level, advanced git operation. Misuse of
GitWriteTree
can result in a corrupted git repository.
▪
The
obj
i
must be associations which include at least the following keys:
"Object"
a
GitObject
to be included into the tree
"Name"
the name the object should have in the tree; this is typically a file or directory name
"FileMode"
the Unix file mode, expressed as an integer or a string selector
▪
GitWriteTree
returns the
GitObject
corresponding to the written tree, or
$Failed
if the tree cannot be written.
▪
Possible
"FileMode"
selectors include
"Tree"
,
"Blob"
,
"BlobExecutable"
, and
"Link"
.
SeeAlso
GitExpandTree
 
▪
GitWriteBlob
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com