From 77e4c4c5b0811ed05ddaac8454edba006c6c273a Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Tue, 1 Jun 2021 17:16:00 +0100 Subject: Use relative path in git clone commands --- www/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/posts/git/2021-05-29') diff --git a/www/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.html b/www/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.html index 81bfebc..662017b 100644 --- a/www/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.html +++ b/www/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.html @@ -42,9 +42,9 @@ $ git init $ touch readme $ git add . $ git commit -m 'Initial commit' -$ git remote add origin git@git.davidtsadler.com:/home/git/test.git +$ git remote add origin git@git.davidtsadler.com:test.git $ git push origin main

I can also test that I can clone the repository.

rm -rf test
-git clone git@git.davidtsadler.com:/home/git/test.git

Links

Git - Read More Posts.

I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.

Email david@davidtsadler.com

License

The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage. +git clone git@git.davidtsadler.com:test.git

Links

Git - Read More Posts.

I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.

Email david@davidtsadler.com

License

The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage. -- cgit v1.2.3-13-gbd6f