added local support for ginit

This commit is contained in:
Josh Ashton
2023-12-05 21:51:41 -07:00
parent c374fbcf17
commit bc74cf3b0c
+5 -2
View File
@@ -1,8 +1,11 @@
#!/bin/zsh
git init
gh repo create
git stage -A
git commit -m "init commit"
git push --set-upstream origin main
if [[ $1 != "-l" || $1 != "--local" ]]; then
gh repo create
git push --set-upstream origin main
fi