Awesome-Python-Scripts/git_automation/.my_commands.sh
loge1998 27f2a0e8b6
Added git automation to repo (#171)
Added gitAutomation to README.md

refactoring
2020-10-05 13:37:25 +05:30

18 lines
282 B
Bash
Executable File

#!/bin/bash
function create() {
cd
source .env
python create.py $1
cd $FILEPATH$1
git init
git remote add origin git@github.com:$USERNAME/$1.git
touch README.md
git add .
git commit -m "Initial commit"
git push -u origin main
code .
}