PushOpts
PushOpts =
object
Defined in: src/core/repo.ts:398
Options for git push
Properties
all?
optionalall:boolean
Defined in: src/core/repo.ts:433
Push all branches
atomic?
optionalatomic:boolean
Defined in: src/core/repo.ts:453
Use atomic transaction to update refs
branches?
optionalbranches:boolean
Defined in: src/core/repo.ts:435
Push all branches (alias for all)
deleteRefs?
optionaldeleteRefs:boolean
Defined in: src/core/repo.ts:439
Delete the specified refs from the remote
dryRun?
optionaldryRun:boolean
Defined in: src/core/repo.ts:441
Dry run - show what would be pushed without pushing
followTags?
optionalfollowTags:boolean
Defined in: src/core/repo.ts:451
Push all refs under refs/tags with the commits
force?
optionalforce:boolean
Defined in: src/core/repo.ts:405
Force updates even if they are not fast-forward
forceIfIncludes?
optionalforceIfIncludes:boolean
Defined in: src/core/repo.ts:443
Force only if the remote tip is included in local history
forceWithLease?
optionalforceWithLease:boolean|ForceWithLeaseOpts
Defined in: src/core/repo.ts:411
Force with lease - safer force push that fails if remote has been updated
- true: use default behavior (check current remote ref)
- ForceWithLeaseOpts: specify refname and optional expected value
ipv4?
optionalipv4:boolean
Defined in: src/core/repo.ts:457
Use IPv4 addresses only
ipv6?
optionalipv6:boolean
Defined in: src/core/repo.ts:459
Use IPv6 addresses only
mirror?
optionalmirror:boolean
Defined in: src/core/repo.ts:437
Mirror mode - push all refs
noVerify?
optionalnoVerify:boolean
Defined in: src/core/repo.ts:417
Bypass pre-push hook
prune?
optionalprune:boolean
Defined in: src/core/repo.ts:449
Prune remote-tracking branches that are deleted locally
pushOption?
optionalpushOption:string|string[]
Defined in: src/core/repo.ts:455
Transmit push options to the server
quiet?
optionalquiet:boolean
Defined in: src/core/repo.ts:429
Operate quietly (suppress progress reporting)
recurseSubmodules?
optionalrecurseSubmodules:"check"|"on-demand"|"only"|"no"
Defined in: src/core/repo.ts:445
Push submodules recursively
refspec?
optionalrefspec:string|string[]
Defined in: src/core/repo.ts:403
Refspec(s) to push
remote?
optionalremote:string
Defined in: src/core/repo.ts:401
Remote name to push to
repo?
optionalrepo:string
Defined in: src/core/repo.ts:431
Override the default repository
setUpstream?
optionalsetUpstream:boolean
Defined in: src/core/repo.ts:415
Set upstream tracking for the pushed branches
signed?
optionalsigned:boolean|"if-asked"
Defined in: src/core/repo.ts:423
GPG-sign the push (for signed pushes)
- true: sign with default key
- ‘if-asked’: sign only if server supports and requests it
tags?
optionaltags:boolean
Defined in: src/core/repo.ts:413
Push all tags
thin?
optionalthin:boolean
Defined in: src/core/repo.ts:447
Use thin pack transfer
verbose?
optionalverbose:boolean
Defined in: src/core/repo.ts:427
Be more verbose