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`
GitStatus
​
GitStatus
[repo]
returns an association listing any files which have been modified in the index or working tree.
​
Details
▪
If
repo
does not have a working tree or an index,
GitStatus
will return
$Failed
.
▪
GitStatus
returns the following keys:
"New"
files newly added to the working tree
"Modified"
files which have been modified in the working tree
"Deleted"
files which have been deleted from the working tree
"TypeChange"
files which have changed type in the working tree
"IndexNew"
files newly added to the index
"IndexModified"
files which have been modified in the index
"IndexDeleted"
files which have been deleted from the index
"IndexTypeChange"
files which have changed type in the index
▪
GitStatus
will not return status on files which are only in the working tree and which git is configured to ignore.
▪
GitStatus
takes the following options:
"DetectRenames"
False
whether to try to determine files that were renamed
"IncludeIgnored"
False
include files which would be ignored by
.gitignore
"RecurseUntrackedDirectories"
False
whether to enumerate all files recursively inside of untracked directories
▪
GitStatus
[repo,"DetectRenames"
True
]
will include two extra keys,
"Renamed"
and
"IndexRenamed"
indicating files which appear to have been renamed relative to the current HEAD of
repo
.
▪
A filename may appear in more than one of the keys. For example, a file might be modified and have its type changed, or it could have independent changes in the working tree and the index.
SeeAlso
GitCheckoutFiles
 
▪
GitCheckoutReference
 
▪
GitAdd
 
▪
GitReset
""

© 2025 Wolfram. All rights reserved.

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