From fb7c00a9bbc18e266da8a3970f5753c562ed7323 Mon Sep 17 00:00:00 2001 From: leedongmyung Date: Sat, 22 Nov 2025 11:23:57 +0900 Subject: [PATCH] =?UTF-8?q?git=20pull=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/oto/commands/git/git.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/oto/commands/git/git.dart b/lib/oto/commands/git/git.dart index ab0a1c6..0451b05 100644 --- a/lib/oto/commands/git/git.dart +++ b/lib/oto/commands/git/git.dart @@ -53,6 +53,8 @@ class GitPull extends Command { var data = DataGitPush.fromJson(getParam(command)); var shell = StringBuffer(getCDPath(workspace)); + shell.write( + ' $and git switch -c ${data.branch!} || git switch ${data.branch!}'); shell.write(' $and git pull origin ${data.branch}'); var process =