Git Project Initialization Automation
public repo
:
$ create.py -n <repo name>
or
$ create.py --name <repo name>
private repo
:
$ create.py -n <repo name> -p
or
$ create.py --name <repo name> --private
$ git init
$ touch README.md
$ git add .
$ git commit -m "Initial commit"
$ git branch -M main
$ git remote add origin <remote repo link>
$ git push -u origin main
Open the Command prompt
git clone https://github.com/mohitkhedkar/Git-Automation.git
cd Git-Automation
pip install -r requirements.txt
register.py
add GITHUB TOKEN
, GITHUB USERNAME
& REPOPATH
in the Registration Window and SUBMIT
path:
"Git-Automation" folder directory to path
Go to Github Settings -> Developer settings -> Personal access tokens -> Generate new token -> Note: git automation
[x] admin:org
Click->Generate Token
Copy the generated token and paste in Registration Window
.