git set remote ssh url

This commit is contained in:
lachtan
2021-10-29 21:30:37 +02:00
parent a7d9326c4c
commit 9393fc667b

View File

@@ -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 <commit-hash>
```