Skip to content

Commit

Permalink
push set upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinmkchin committed Aug 18, 2024
1 parent c030795 commit d03410c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default class GHSyncPlugin extends Plugin {
// git push origin main
if (!clean) {
try {
git.push('origin', 'main');
git.push('origin', 'main', ['-u']);
new Notice("GitHub Sync: Pushed on " + msg);
} catch (e) {
new Notice(e, 10000);
Expand Down

0 comments on commit d03410c

Please sign in to comment.