MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / push

Function push

dev/update-editor-output-repos.js:109–118  ·  view source on GitHub ↗
(repoPath, { branch })

Source from the content-addressed store, hash-verified

107}
108
109async function push(repoPath, { branch }) {
110 console.log('pushing commit');
111
112 try {
113 await execa('git', ['push', '--force', 'origin', branch], { cwd: repoPath });
114 } catch (e) {
115 // branch may not exist yet
116 await execa('git', ['push', '-u', 'origin', branch], { cwd: repoPath });
117 }
118}
119
120async function updateOnlineEditorRepos(tag) {
121 let infos = await determineOutputs(tag);

Callers 1

updateOnlineEditorReposFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…