A simple git operations for human based on dulwich project and Python3, most of these operations are base on very basic command on git.
git configgit clonegit fetchgit initgit remotegit addgit rmgit statusgit commitgit diffgit loggit blamegit pullgit pushgit branchgit checkoutgit taggit resetgit revertgit cleangit mergegit rebasegit stashgit archive
get config value from the repository config file eg: .git/config, so if you get something like global config or some value that not exist on that file, it would return None value.
from gitty import Gitty
git = Gitty('.') # set repo path, default is on current directory
# git config user.name
git.config('user.name') # 'Aditya Kresna Permana'
# git config user.email
git.config('user.email') # 'zeandcode@gmail.com'
# git config remote.origin.url
git.config('remote.origin.url) # https://github.com/slaveofcode/gitty.git
clone a repository.
from gitty import Gitty
Gitty.clone('https://github.com/slaveofcode/gitty.git', 'path-clone-folder')
fetch from remote server
from gitty import Gitty
git = Gitty('.') # set repo path, default is on current directory
git.fetch()
pip install gitty