added local support for ginit
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
git init
|
git init
|
||||||
gh repo create
|
|
||||||
|
|
||||||
git stage -A
|
git stage -A
|
||||||
git commit -m "init commit"
|
git commit -m "init commit"
|
||||||
|
|
||||||
|
if [[ $1 != "-l" || $1 != "--local" ]]; then
|
||||||
|
gh repo create
|
||||||
git push --set-upstream origin main
|
git push --set-upstream origin main
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user