mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-30 15:31:07 +00:00
27f2a0e8b6
Added gitAutomation to README.md refactoring
18 lines
282 B
Bash
Executable File
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 .
|
|
}
|
|
|
|
|