Skip to content

mohitkhedkar/Git-Automation

Repository files navigation

Git Project Initialization Automation

GitHub GitHub last commit Languages

Command:

For making public repo:

  $ create.py -n <repo name>
   or
  $ create.py --name <repo name> 

For making private repo:

  $ create.py -n <repo name> -p
   or
  $ create.py --name <repo name> --private 

Git Commands we are Automating:

  $ 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

Setup:

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

For running command from anywhere on system:

path:
  "Git-Automation" folder directory to path

Getting the Github Token:

Go to Github Settings -> Developer settings -> Personal access tokens -> Generate new token -> Note: git automation

Scopes required:
  • 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 Registration Window.


Contibutors

  1. Megha Pal.
  2. Niraj Patil.
  3. Mohit Khedkar.

About

Git Project Initialization Automation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages