git push 개선

This commit is contained in:
leedongmyung 2025-11-22 10:46:33 +09:00
parent 86085b42d0
commit b88c44533c
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View file

@ -55,3 +55,4 @@ release/
# End of https://www.toptal.com/developers/gitignore/api/dart,visualstudiocode
assets/data/app_data.json
.DS_Store

View file

@ -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!}');
}