Skip to content

Commit fa91453

Browse files
committed
fix
1 parent 6c2f3b2 commit fa91453

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

dist/git_python-1.0.3-py3.8.egg

2.74 KB
Binary file not shown.

h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
j

main.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,21 @@
33

44
from git import Repo
55

6-
repo = Repo(".")
6+
repo = Repo(os.getcwd())
7+
8+
class GPushM:
9+
def __init__(self):
10+
pass
11+
12+
def add_tag(tag):
13+
more[tag] = {}
14+
15+
def add_tag_remote(tag, remote):
16+
if tag not in more:
17+
print("Tag Not Added!")
718

819
def gaddc(message):
20+
with open("h", "w") as f: f.write("j")
921
git = repo.git
1022
git.add(".")
1123
git.commit("-m", message)
@@ -18,7 +30,6 @@ def parser_gp():
1830
addc.add_argument("-m", "--message", help="commit message", required=True)
1931

2032
args = parser.parse_args()
21-
print(args)
2233
if "message" in args:
2334
gaddc(args.message)
2435

setup.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
from setuptools import setup, find_packages
2+
from setuptools.command.install import install
3+
4+
class CustomInstall(install):
5+
def run(self):
6+
install.run(self)
7+
28
setup(
39
name="git-python",
410
version="1.0.3",
511
description="combination and simplification of some useful git commands",
6-
long_description="""
7-
1. add and commit
8-
9-
gp addc -m "message"
10-
""",
1112
author='code-nick-python',
1213
author_email='2330458484@qq.com',
1314
url="https://github.com/pynickle/git-python",

0 commit comments

Comments
 (0)