diff --git a/lib/oto/commands/git/git.dart b/lib/oto/commands/git/git.dart index f379899..e7bae1b 100644 --- a/lib/oto/commands/git/git.dart +++ b/lib/oto/commands/git/git.dart @@ -47,7 +47,7 @@ class GitRev extends Command { var shell = StringBuffer(getCDPath(workspace)); var target = data.branch ?? 'HEAD'; target = replaceTag(target); - // shell.write(' && git fetch origin'); + shell.write(' && git fetch origin'); shell.write(' && git rev-parse $target'); var process = await ProcessExecutor.start(shell, printStderr: false); var exitCode = await process.process.exitCode;