Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
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
Create a Paclet
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`
G
i
t
A
d
d
G
i
t
A
d
d
[
r
e
p
o
,
p
a
t
h
]
a
d
d
a
n
y
c
h
a
n
g
e
s
f
o
u
n
d
i
n
p
a
t
h
t
o
t
h
e
i
n
d
e
x
f
o
r
r
e
p
o
.
G
i
t
A
d
d
[
r
e
p
o
,
{
p
a
t
h
1
,
p
a
t
h
2
,
…
}
]
a
d
d
a
l
l
c
h
a
n
g
e
s
f
o
u
n
d
a
t
e
a
c
h
o
f
p
a
t
h
i
t
o
t
h
e
i
n
d
e
x
.
G
i
t
A
d
d
[
r
e
p
o
,
A
l
l
]
a
d
d
a
l
l
c
h
a
n
g
e
s
f
o
u
n
d
i
n
t
h
e
w
o
r
k
i
n
g
t
r
e
e
o
f
r
e
p
o
t
o
t
h
e
i
n
d
e
x
.
G
i
t
A
d
d
[
p
a
t
h
]
a
u
t
o
m
a
t
i
c
a
l
l
y
d
e
t
e
r
m
i
n
e
w
h
i
c
h
r
e
p
o
p
a
t
h
b
e
l
o
n
g
s
t
o
a
n
d
a
d
d
c
h
a
n
g
e
s
t
o
t
h
a
t
r
e
p
o
.
D
e
t
a
i
l
s
▪
G
i
t
A
d
d
is the inverse operation to
G
i
t
R
e
s
e
t
.
▪
When a
r
e
p
o
is given and
p
a
t
h
is relative, then it will be relative to the root of
r
e
p
o
. When
r
e
p
o
is not specified, paths will be relative to the current directory.
▪
p
a
t
h
may refer to a directory or filename. If
p
a
t
h
refers to a directory, then the contents of that directory are added.
p
a
t
h
can be given as a glob pattern.
▪
G
i
t
A
d
d
may add new files or changes to existing files. If no changes or new files are found, then
G
i
t
A
d
d
will do nothing and return without error.
▪
G
i
t
A
d
d
returns a list of the files which it adds to the index. If no files were added,
G
i
t
A
d
d
returns an empty list.
▪
If an added file is marked as having a conflict as the result of an incomplete merge or rebase,
G
i
t
A
d
d
clears the conflict
▪
If a file has been deleted from the working tree, then
G
i
t
A
d
d
[
r
e
p
o
,
"
r
e
m
o
v
e
d
f
i
l
e
"
]
will add the change that deletes the file to the index.
▪
G
i
t
A
d
d
ignores changes to files which are specified in a
.
g
i
t
i
g
n
o
r
e
file. To add a change or new file even if the filename is found in a
.
g
i
t
i
g
n
o
r
e
file, use
G
i
t
A
d
d
[
r
e
p
o
,
p
a
t
h
,
"
F
o
r
c
e
"
T
r
u
e
]
.
▪
p
a
t
h
may be an absolute pathname or a path relative to the current working directory. If
p
a
t
h
points to a directory or file outside of the working tree,
G
i
t
A
d
d
will generate an error message.
S
e
e
A
l
s
o
G
i
t
R
e
s
e
t
▪
G
i
t
C
o
m
m
i
t
▪
G
i
t
S
t
a
t
u
s
▪
G
i
t
C
h
e
c
k
o
u
t
F
i
l
e
s
▪
G
i
t
M
e
r
g
e
▪
G
i
t
R
e
b
a
s
e
▪
G
i
t
C
h
e
r
r
y
P
i
c
k
"
"