Private
existget current branch informations
get current branch
get origin url
remote name in config, default origin
get root directory of local repository
exports infos
get current branch informations
get current branch
get origin url
remote name in config, default origin
Get github url for single file or folder
path subfolder or file
safe url
get root directory of local repository
get all ignored files by .gitignore
Static
extStatic
helpergit add
specific path or argument -A
git checkout
git commit
commit messages
am, -m, etc
git fetch
Optional
arg: string[]argument git-fetch, ex ['--all']
get remote information. default origin
remote url
get remote origin
information
Optional
args: string[]object remote
git init
is file ignored by .gitignore
?
Optional
options: isIgnoredOptget latest commit hash
Optional
customPath: stringOptional
options: Partial<GetLatestCommitHashOptions>git pull
Optional
arg: string[]example: ['--recurse-submodule']
git pull accept merge from remote (accept all incoming changes)
git push
set branch (git checkout branchName)
Optional
spawnOpt: SpawnOptionsset remote url
// default
git add remote origin https://
// custom name
git add remote customName https://
repository url
Optional
name: stringcustom object name
call spawn async
Spawn option default stdio pipe
git status
GitHub Command Helper For NodeJS