Gilmore
v0.2.0
GitHub
Overview
Getting Started
Actions
init
add
status
commit
commitAll
push
Files
readFile
readFileJson
writeFile
writeFileJson
removeFile
Commits
currentCommit
commitList
commitExists
changedFiles
Branches
currentBranchName
branchList
branchExists
switchBranch
Remotes
currentRemoteName
remoteList
remoteExists
getRemote
createRemote
switchRemote
setRemote
GitHub
githubRepoSlug
githubRepoOwner
githubRepoName
Config
getConfig
setConfig
deleteConfig
Helpers
run
root
Edit
getConfig
Returns the value of a given config key
await repo.getConfig(configKey)
Examples
const
email =
await
repo.getConfig(
'user.email'
);
Made by
@pixelastic
Twitter
GitHub
Projects