File tree 1 file changed +5
-4
lines changed 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ def fork():
16
16
try :
17
17
g = Github (username , password )
18
18
user = g .get_user ()
19
- repo = input ("Name of repo you want to fork (in the form owner/repo): " )
19
+ repo = input (
20
+ "Name of repo you want to fork (in the form owner/repo): " )
20
21
if (accOrOrg == "acc" ):
21
22
user .create_fork (g .get_repo (repo ))
22
23
else :
@@ -33,14 +34,14 @@ def fork():
33
34
def clone (repo ):
34
35
35
36
location = input (
36
- "Path for cloning repo into" /
37
+ "Path for cloning repo into"
37
38
"(default is current directory): " )
38
39
try :
39
40
if len (location .strip ()) != 0 :
40
41
arr = repo .split ("/" )
41
42
subprocess .run (
42
- "git clone https://github.com/" + repo + ".git " + location +
43
- "\\ " + arr [0 ] + "\\ " + arr [1 ], shell = True , check = True )
43
+ "git clone https://github.com/" + repo + ".git " + location
44
+ + "\\ " + arr [0 ] + "\\ " + arr [1 ], shell = True , check = True )
44
45
else :
45
46
subprocess .run (
46
47
"git clone https://github.com/" + repo + ".git" ,
You can’t perform that action at this time.
0 commit comments