non important commit
This commit is contained in:
parent
3aca6ec61a
commit
ce704e9e6f
2 changed files with 11 additions and 23 deletions
|
|
@ -47,18 +47,10 @@
|
|||
}
|
||||
|
||||
if $local {
|
||||
print "You are all done"
|
||||
exit 0
|
||||
}
|
||||
|
||||
ssh "admin@silvers.fun" $"sudo -S -u git git init --bare /var/lib/git-server/($name).git"
|
||||
print $"Repository ($name) created successfully!"
|
||||
|
||||
git init
|
||||
git add .
|
||||
git commit -m "Project setup"
|
||||
git remote add origin $"git@silvers.fun:($name).git"
|
||||
git push origin main
|
||||
|
||||
print "You are all done"
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue