Skip to content

Commit b73c3ef

Browse files
authored
added: push helper
1 parent 2eecdba commit b73c3ef

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

push.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import os
2+
import sys
3+
4+
os.system("git init")
5+
os.system("git remote add origin https://github.com/rshnGhost/django-quick.git")
6+
os.system("git config --local user.name 'rshnGhost'")
7+
os.system("git config --local user.email '[email protected]'")
8+
os.system("git branch -m django-4.1.4")
9+
os.system("git status")
10+
os.system("git add .")
11+
os.system("git status")
12+
os.system(f'git commit -m "{str("".join(sys.argv[1:]))}"')
13+
os.system("git switch django-4.1.4")
14+
os.system("git push origin django-4.1.4")

0 commit comments

Comments
 (0)