git push 개선
This commit is contained in:
parent
86085b42d0
commit
b88c44533c
2 changed files with 2 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -55,3 +55,4 @@ release/
|
|||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/dart,visualstudiocode
|
||||
assets/data/app_data.json
|
||||
.DS_Store
|
||||
|
|
|
|||
|
|
@ -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!}');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue