summaryrefslogtreecommitdiff
path: root/mkproj.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mkproj.sh')
-rwxr-xr-xmkproj.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/mkproj.sh b/mkproj.sh
index 0cd1048..f557517 100755
--- a/mkproj.sh
+++ b/mkproj.sh
@@ -8,9 +8,9 @@
# only works for bash shell
######################################################################
-host="ssh ip"
-port=" -p 'port'"
-user="user name"
+host="45.79.85.77"
+port=" -p 13089"
+user="pico"
run() {
#!/usr/bin/env sh
@@ -86,7 +86,7 @@ run() {
[ "$?" -ne 0 ] && echo -e "failed creating ${BLUE}$work/$repo${NC}, please check permission" || echo -e "${YELLOW}creation finished${NC}"
fi
- echo -e "you may now add remote with ${RED}git remote --add origin ssh://user@ip:port$path/$repo$NC command."
+ echo -e "you may now add remote with ${RED}git remote add origin ssh://user@ip:port$path/$repo$NC command."
}
ssh -t ${user}@${host}${port} "$(typeset -f run); run"