non important commit
This commit is contained in:
parent
ff963040f9
commit
d33bfc0998
1 changed files with 58 additions and 53 deletions
|
|
@ -49,10 +49,15 @@
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
print "Enter server password"
|
print "Enter server password:"
|
||||||
let pass = (input)
|
let pass = (input --suppress-output)
|
||||||
|
|
||||||
ssh admin@silvers.fun $"sudo -S -u git bash -c \"git init --bare ~/($name).git\" <<< ($pass)" <<< $pass
|
try {
|
||||||
|
ssh $"admin@silvers.fun" $"echo '($pass)' | sudo -S -u git git init --bare ~/($repo_name).git"
|
||||||
|
print $"Repository ($repo_name) created successfully!"
|
||||||
|
} catch {
|
||||||
|
print "Failed to create repository. Check your credentials and try again."
|
||||||
|
}
|
||||||
|
|
||||||
git init
|
git init
|
||||||
git add .
|
git add .
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue