Added README.md and Fixed typo in main.py
This commit is contained in:
parent
9b0a067458
commit
49da1df840
30
README.md
Normal file
30
README.md
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# Auto GIT Creater
|
||||||
|
|
||||||
|
Dies erzeugt ein neues GIT Repository auf ein Asustor NAS (Only GIT installed).
|
||||||
|
|
||||||
|
## Version
|
||||||
|
|
||||||
|
V 1.1
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
>None
|
||||||
|
|
||||||
|
## Changelog
|
||||||
|
|
||||||
|
### V 1.1
|
||||||
|
- `README.md` erstellt
|
||||||
|
- `main.py` -> Tippfehler korrigiert
|
||||||
|
### V 1.0
|
||||||
|
- Start des Projektes
|
||||||
|
- `main.py` angefertigt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Beitragende
|
||||||
|
|
||||||
|
- Yannick
|
||||||
|
|
||||||
|
## Lizenz
|
||||||
|
|
||||||
|
Dieses Projekt ist unter der [MIT-Lizenz](https://opensource.org/licenses/MIT) lizenziert.
|
||||||
2
main.py
2
main.py
@ -30,7 +30,7 @@ commands = [
|
|||||||
command_string = " && ".join(commands)
|
command_string = " && ".join(commands)
|
||||||
subprocess.run(["ssh", "-p", port, f"{username}@{hostname}", command_string])
|
subprocess.run(["ssh", "-p", port, f"{username}@{hostname}", command_string])
|
||||||
print("Bitte gehe selber per ssh auf das nas um ein >git push origin master< zu machen um das vollständig ab zu schließen")
|
print("Bitte gehe selber per ssh auf das nas um ein >git push origin master< zu machen um das vollständig ab zu schließen")
|
||||||
print(f"cdshare/Public/git/{project_name}")
|
print(f"cd share/Public/git/{project_name}")
|
||||||
print("git push origin master")
|
print("git push origin master")
|
||||||
print(f'git clone "ssh://yannick@192.168.2.106/share/Public/git/{project_name}.git"')
|
print(f'git clone "ssh://yannick@192.168.2.106/share/Public/git/{project_name}.git"')
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user