Skip to content

mayureshnw/gity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gity

Build Status

        _ _         
   __ _(_) |_ _   _ 
  / _` | | __| | | |
 | (_| | | |_| |_| |
  \__, |_|\__|\__, |
  |___/       |___/ 

The git magician for python. gity makes using git commands in python, a piece of cake.

Most existing Python modules for for interacting with git repositories are extremely verbose and cumbersome.

Python doesnt have a builtin module and with the existing ones it requires tremendous amount of documentation digging to get hold of the simplest functions.

Things shouldn't be this way. Not in Python.

Features

  • Written in uncomplicated Python
  • Easy to install
  • Works on Linux and Mac

Current Support

  • git init
  • git clone
  • git status
  • git add
  • git commit
  • git push
  • git pull
  • git checkout

Installation

Option 1: Pip

$ pip install gity

Option 2: From source

$ git clone --recursive [email protected]:mnw2212/gity.git
$ cd gity/
$ python setup.py install

Usage

from gity import gity

obj = gity()
obj.git_add(deletion=True)
message = "inital commit"
obj.git_commit(message)

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Developing

PRs are welcome. To begin developing, follow this:

# make virtual env
$ git clone --recursive [email protected]:Mnw2212/gity.git
$ cd gity/
$ python gity/gity.py