SimpleGit class
Constructors
SimpleGit ({SimpleProcessOptions? options })
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runner
→ SimpleProcessBase
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
add ({String ? file , List <String > ? files , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Adds one or more files to be under source control
inherited
addAll ({bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Add all files
inherited
addAnnotatedTag (String tagName , String tagMessage , {List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Adds an annotated tag to the head of the current branch
inherited
addTag (String tagName , {List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Adds a lightweight tag to the head of the current branch
inherited
branch ({List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
branch
inherited
checkout ({List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
checkout
inherited
commit (String message , {List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Commits changes in the current working directory with the supplied message where the message
can be either a single string or array of strings to be passed as separate arguments
(the git command line interface converts these to be separated by double line breaks)
inherited
fetch ({List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Update the local working copy database with changes from the default remote repo and branch, when
supplied the options argument can be a standard options object either an array of string commands as supported by the git fetch.
inherited
merge ({String ? branch , List <String > ? options = const [] , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
branch
inherited
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pull ({List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Pull
inherited
pullRebase ({List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Pull
inherited
push ({List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Push
inherited
raw (List <String > args , {bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Execute any arbitrary array of commands supported by the underlying git binary. When the git process returns a non-zero signal on exit and it printed something to stderr, the commmand will be treated as an error, otherwise treated as a success.
inherited
rebase ({List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Rebases the repo, options should be supplied as an array of string parameters supported by the git rebase command
inherited
status ({bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Show status
inherited
tag ({List <String > ? options , bool ? skipOnError , HandlerFunction? handlerFn , bool ? showOutput })
→ SimpleProcessResult
Runs any supported git tag commands with arguments passed as an array of strings
inherited
toString ()
→ String
A string representation of this object.
inherited