Skip to content

Instantly share code, notes, and snippets.

View mowolf's full-sized avatar

Moritz Wolf mowolf

View GitHub Profile
import os
from git import Repo
class GitHelper:
def __init__(self, git_path: str, confirm: bool = False):
"""
Inits GitHelper Class
:param git_path: str path to .git/ folder