git-aliases-plugin/plugin/functions/ginit
Ari Archer a0aeaf6127
4 : added gini
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2023-08-21 04:16:44 +03:00

8 lines
196 B
Bash

#!/usr/bin/env sh
git init
git add -A
git commit "$1"
git branch -M main
git remote add origin git@github.com:"$(git config --get github.user)"/"$(basename "$(pwd)")".git
git push -u origin main