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`
GitRange
​
GitRange
[repo,ref]
returns a list including the commit pointed to by
ref
and all ancestor commits.
​
​
GitRange
[repo,
ref
i
,
ref
2
,…]
returns a list of commits corresponding to each of
ref
i
and their ancestors.
​
​
GitRange
[repo,
Except
[
ref
1
],
ref
2
]
returns a list of ancestors of
ref
2
which excludes
ref
1
and any of its ancestors.
​
Details
▪
If
GitRange
succeeds, it will always return a list of commits. If no commits match the given criteria, then
GitRange
will return an empty list.
▪
ref
i
may be specified as commit objects, SHAs, partial SHAs, or names of tags or branches. The
ref
i
and
Except
[
ref
i
]
may be specified in any order.
▪
GitRange
only lists each commit once, even if a commit is an ancestor of multiple
ref
i
. The order of the commits is not guaranteed.
▪
The common git command-line specification of
ref
1
..
ref
2
is equivalent to
GitRange
[repo,
Except
["
ref
1
"],"
ref
2
"]
.
SeeAlso
ToGitObject
 
▪
GitMergeBase
 
▪
GitMerge
 
▪
GitAheadBehind
""

© 2025 Wolfram. All rights reserved.

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