package
0.22.0
Repository: https://github.com/wyarde/go-git-cmd-wrapper.git
Documentation: pkg.go.dev

# Functions

All Update the index not only where the working tree has a file matching <pathspec> but also where the index already has an entry.
Chmod Override the executable bit of the added files.
DryRun Don't actually add the file(s), just show if they exist and/or will be ignored.
Edit Open the diff vs.
Force Allow adding otherwise ignored files.
HyphenHyphen add `--` This option can be used to separate command-line options from the list of files, (useful when filenames might be mistaken for command-line options).
IgnoreErrors If some files could not be added because of errors indexing them, do not abort the operation, but continue adding the others.
IgnoreMissing This option can only be used together with --dry-run.
IntentToAdd Record only the fact that the path will be added later.
Interactive Add modified contents in the working tree interactively to the index.
NoAll Update the index by adding new files that are unknown to the index and files modified in the working tree, but ignore files that have been removed from the working tree.
Patch Interactively choose hunks of patch between the index and the work tree and add them to the index.
PathSpec [<pathspec>...] Files to add content from.
Refresh Don't add the file(s), but only refresh their stat() information in the index.
Update Update the index just where it already has an entry matching <pathspec>.
Verbose Be verbose.