From 9393fc667b1703b201c56d3253f5d4416b8024c1 Mon Sep 17 00:00:00 2001 From: lachtan Date: Fri, 29 Oct 2021 21:30:37 +0200 Subject: [PATCH] git set remote ssh url --- doc/git.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/git.md b/doc/git.md index c8b1fc1..f2e252d 100644 --- a/doc/git.md +++ b/doc/git.md @@ -1,3 +1,11 @@ +# Git notes + +## Full ssh address for remote server +``` +git remote set-url origin ssh://lachtan@byt13.fnet.cz:22002/home/lachtan/git/work/linux-workspace.git +git remote set-url origin ssh://lachtan@byt13.fnet.cz:22002/~/git/work/linux-workspace.git +``` + ```bash # How to Write a Git Commit Message # https://chris.beams.io/posts/git-commit/ @@ -57,3 +65,4 @@ git rebase --continue # pouzije comment z jineho commitu commit -pc ``` +