Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 887 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 887 Bytes

git-cli-clone-python

A Python based Git clone that allows creating repos, commiting, and pushing.

Installing packages

There is an included requirements.txt file containing the required modules for this project.

To install, use the following command:

$ python3 -m pip install -r requirements.txt

You should now have the following installed:

  • virtualenv
  • wheel
  • setuptools
  • twine
  • click>=8.1.7

Building the project

  1. Create the virtual envirnment and activate it
  • virtualenv venv
  • source venv/bin/activate
  1. Install the tool in the virtual environment
  • python setup.py develop
  1. Verify with the hello command
  • pygit hello -n Johnny

Available Commands

  1. pygit hello -n {name}
  2. pygit init {new-repo-folder-name} in-progress
    • Creates a new folder and a child .git directory

Python Version

Python 3.11.5