MCPcopy
hub / github.com/dendronhq/dendron / push

Method push

packages/engine-server/src/topics/git.ts:127–136  ·  view source on GitHub ↗
(setUpstream?: { remote: string; branch: string })

Source from the content-addressed store, hash-verified

125 }
126
127 async push(setUpstream?: { remote: string; branch: string }) {
128 const { localUrl: cwd } = this.opts;
129 let setUpstremArg = "";
130 if (setUpstream)
131 setUpstremArg = ` --set-upstream ${setUpstream.remote} ${setUpstream.branch}`;
132 await execa.command([`git push${setUpstremArg}`].join(" "), {
133 shell: true,
134 cwd,
135 });
136 }
137
138 /** Creates a dangling stash commit without changing the index or working tree. */
139 async stashCreate() {

Callers 15

convertVaultRemoteMethod · 0.95
pushVaultsMethod · 0.95
remoteAddMethod · 0.95
generateScriptFunction · 0.80
genConfigFileMethod · 0.80
PodUtilsClass · 0.80
genConfigFileV2Method · 0.80
getAllPodConfigsMethod · 0.80
NotionExportPodV2Class · 0.80
createGdocMethod · 0.80
overwriteGdocMethod · 0.80

Calls

no outgoing calls

Tested by 2

getRootChildrenBacklinksFunction · 0.64
createSchemaCandidatesFunction · 0.64