Skip to content

A python automation tool that automates the process of creating a new github repository and a new git project in the local device. The process till the initial commit is automated.

Notifications You must be signed in to change notification settings

mrpranavr/Github_Repo_Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github repo automation


A bash script that calls the python file that automates the entire process of making a new github repository and doing the initial commit from the local device.

 

Requirements

  • A terminal that can run linux commands (otherwise it wont work)
  • Python installed. Also install selenium package by using pip install selenium

Arguments

  • First argument is the Repo name. Enter proper repo name, ie. No whitespaces and only underscore and so on...
  • Second argument is the path to the folder where you want to create this project in your local machine. Eg. D:/Projects/new_project

The terminal will exit of any of the parameters are not provided.

How to setup ?

  1. Clone the repo to a folder

  2. Move the gitrepo.sh shell file from the current folder and put it in your user directory (This is to make the shell file accessible on start of terminal)

  3. Make the following changes in the shell script:

    • In GIT_PATH variable , add your github userID
    • Uncomment the python file excecution line and add the path of the makeRepo.py file
  4. In the makeRepo.py file, add your github username and password

Automation time !!!

  • Open the terminal from anywhere on system.
  • enter command . gitrepo.sh or source ~/gitrepo.sh
  • enter create repo_name_here file_path_here

About

A python automation tool that automates the process of creating a new github repository and a new git project in the local device. The process till the initial commit is automated.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published