From b88c44533ce4c1632af66b4f763cf34451cd66aa Mon Sep 17 00:00:00 2001 From: leedongmyung Date: Sat, 22 Nov 2025 10:46:33 +0900 Subject: [PATCH] =?UTF-8?q?git=20push=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + lib/oto/commands/git/git.dart | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 8f4e16c..ae8cbd3 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ release/ # End of https://www.toptal.com/developers/gitignore/api/dart,visualstudiocode assets/data/app_data.json +.DS_Store diff --git a/lib/oto/commands/git/git.dart b/lib/oto/commands/git/git.dart index ada0311..216f9ee 100644 --- a/lib/oto/commands/git/git.dart +++ b/lib/oto/commands/git/git.dart @@ -57,6 +57,7 @@ class GitPush extends Command { if (data.branch == null) { shell.write(' $and git push'); } else { + shell.write(' $and git switch -c ${data.branch!}'); shell.write(' $and git push origin ${data.branch!}'); }