$ create.py -n <repo name>
or
$ create.py --name <repo name>
$ 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
git clone https://github.com/mohitkhedkar/Git-Automation.git
cd Git-Automation
pip install -r requirements.txt
touch .env
add REPO PATH in create.py
add USERNAME in create.py
path:
"Git-Automation" folder directory to path
after running touch .env
command open the .env
file and paste your github token.
GITHUB_TOKEN=" "
Go to Github Settings -> Developer settings -> Personal access tokens -> Generate new token -> Note: git automation
- repo
- repo:status
- repo_deployment
- repo:invite
- repo:invite
- security events
- workflow
- write:packages
- read:packages
- delete:packages
- admin:org
- write:org
- read:org
Click->Generate Token
Copy the generated token and paste in .env file
.