Download the PHP package sweetchuck/robo-git without Composer
On this page you can find all versions of the php package sweetchuck/robo-git. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sweetchuck/robo-git
More information about sweetchuck/robo-git
Files in sweetchuck/robo-git
Package robo-git
Short Description Robo task to read the content of the staged files
License GPL-2.0-or-later
Homepage https://github.com/Sweetchuck/robo-git
Informations about the package robo-git
Robo task wrapper for Git commands
The main additional feature compare to the ::taskExec() is that this tasks parse
the stdOutput/stdError and make the result available for the next tasks by
putting it into the \Robo\State\Data instance which belongs to the pipeline.
Install
Run composer require --dev sweetchuck/robo-git
Task - taskGitBranchList()
Run: $ vendor/bin/robo git:branches
Example output:
refs/heads/1.x
isCurrentBranch = true
push = 'refs/remotes/upstream/1.x'
push.short = 'upstream/1.x'
refName = 'refs/heads/1.x'
refName.short = '1.x'
track = ''
track.ahead = NULL
track.behind = NULL
track.gone = false
upstream = 'refs/remotes/upstream/1.x'
upstream.short = 'upstream/1.x'
Task - taskGitConfigGet()
Run: $ vendor/bin/robo git:config:get
Example output:
git.config.user.name = Andor
Task - taskGitCurrentBranch()
Run: $ vendor/bin/robo git:current-branch
Example output:
long = refs/heads/1.x
short = 1.x
Task - taskGitListFiles()
Run: $ vendor/bin/robo git:list-files
Example output:
README.md
status = NULL
objectName = NULL
eolInfoI = NULL
eolInfoW = NULL
eolAttr = NULL
fileName = 'README.md'
Task - taskGitListChangedFiles()
@todo
Task - taskGitListStagedFiles()
@todo
Task - taskGitNumOfCommitsBetween()
@todo
Task - taskGitReadStagedFiles()
@todo
Task - taskGitRemoteList()
@todo
Task - taskGitStatus()
@todo
Task - taskGitTagList()
@todo
Task - taskGitTopLevel()
@todo