useGit API
Preparing search index...
useGit API
Interfaces
AddOptions
BranchOptions
CloneOptions
CommitOptions
CreateTagOptions
DiffOptions
DiffStats
InitOptions
IsDirtyOptions
RestoreOptions
StatusOptions
TagOptions
Type Aliases
BranchListFormat
BranchListResult
BranchListResultMap
Functions
add
branch
branchExists
changedFileCount
clone
commit
commitAll
commitAmend
commitEmpty
commitFixup
commitNoEdit
commitReuseMessage
commitSignoff
commitWithAuthor
copyBranch
createAnnotatedTag
createBranch
createTag
currentBranch
deleteBranch
deleteTag
diff
diffCommits
diffFiles
diffHead
diffRange
diffStaged
diffStats
diffStatsCommits
diffStatsStaged
diffStatStagedSummary
diffStatSummary
diffWorkingTree
getChangedFiles
getDefaultBranch
getSemverTags
getStagedFiles
getTags
getUntrackedFiles
hasBinaryChanges
hasDiff
hasOnlyEOLChanges
hasOnlyWhitespaceChanges
hasStagedDiff
hasTag
hasUntrackedFiles
This method detects files that are present in the working tree but are not yet tracked by Git.
To get files use
getUntrackedFiles
.
init
isCleanWorkingTree
isDirty
isGitInstalled
isInitialized
isRepo
isSemverTag
isValidTagName
listAllBranches
listBranches
listRemoteBranches
platform
rawVersion
renameBranch
resetBranchToHead
restore
restoreAll
This discards
all unstaged changes
in the working tree, restoring files to their last staged state.
restoreAllFromHead
restoreAllStaged
restoreBoth
restoreFrom
restoreFromHead
restoreStaged
restoreWorktree
setBranchUpstream
stagedFileCount
status
tag
version
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Interfaces
Add
Options
Branch
Options
Clone
Options
Commit
Options
Create
Tag
Options
Diff
Options
Diff
Stats
Init
Options
Is
Dirty
Options
Restore
Options
Status
Options
Tag
Options
Type Aliases
Branch
List
Format
Branch
List
Result
Branch
List
Result
Map
Functions
add
branch
branch
Exists
changed
File
Count
clone
commit
commit
All
commit
Amend
commit
Empty
commit
Fixup
commit
No
Edit
commit
Reuse
Message
commit
Signoff
commit
With
Author
copy
Branch
create
Annotated
Tag
create
Branch
create
Tag
current
Branch
delete
Branch
delete
Tag
diff
diff
Commits
diff
Files
diff
Head
diff
Range
diff
Staged
diff
Stats
diff
Stats
Commits
diff
Stats
Staged
diff
Stat
Staged
Summary
diff
Stat
Summary
diff
Working
Tree
get
Changed
Files
get
Default
Branch
get
Semver
Tags
get
Staged
Files
get
Tags
get
Untracked
Files
has
Binary
Changes
has
Diff
has
Only
EOL
Changes
has
Only
Whitespace
Changes
has
Staged
Diff
has
Tag
has
Untracked
Files
init
is
Clean
Working
Tree
is
Dirty
is
Git
Installed
is
Initialized
is
Repo
is
Semver
Tag
is
Valid
Tag
Name
list
All
Branches
list
Branches
list
Remote
Branches
platform
raw
Version
rename
Branch
reset
Branch
To
Head
restore
restore
All
restore
All
From
Head
restore
All
Staged
restore
Both
restore
From
restore
From
Head
restore
Staged
restore
Worktree
set
Branch
Upstream
staged
File
Count
status
tag
version
useGit API
Loading...