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 --- .../posts/git/2021-05-29/setting-up-a-self-host-git-server/index.gmi | 4 ++-- www/posts/atom.xml | 4 ++-- www/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.html | 4 ++-- www/posts/git/atom.xml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/gemini/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.gmi b/gemini/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.gmi index 9729b24..bb6161f 100644 --- a/gemini/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.gmi +++ b/gemini/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.gmi @@ -104,7 +104,7 @@ $ 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 ``` @@ -112,7 +112,7 @@ I can also test that I can clone the repository. ```shell rm -rf test -git clone git@git.davidtsadler.com:/home/git/test.git +git clone git@git.davidtsadler.com:test.git ``` ### Links diff --git a/www/posts/atom.xml b/www/posts/atom.xml index 79f3a7c..77f6e47 100644 --- a/www/posts/atom.xml +++ b/www/posts/atom.xml @@ -36,9 +36,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</code></pre><p>I can also test that I can clone the repository.</p><pre><code class="shell">rm -rf test -git clone git@git.davidtsadler.com:/home/git/test.git</code></pre><h3>Links</h3><a href="/posts/git/">Git - Read More Posts.</a><p>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.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a> +git clone git@git.davidtsadler.com:test.git</code></pre><h3>Links</h3><a href="/posts/git/">Git - Read More Posts.</a><p>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.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a> Pre and Post Validation Hooks with Certbot https://davidtsadler.com/posts/letsencrypt/2021-05-28/pre-and-post-validation-hooks-with-certbot/index.html 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. diff --git a/www/posts/git/atom.xml b/www/posts/git/atom.xml index 69e1abf..9513596 100644 --- a/www/posts/git/atom.xml +++ b/www/posts/git/atom.xml @@ -36,8 +36,8 @@ $ 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</code></pre><p>I can also test that I can clone the repository.</p><pre><code class="shell">rm -rf test -git clone git@git.davidtsadler.com:/home/git/test.git</code></pre><h3>Links</h3><a href="/posts/git/">Git - Read More Posts.</a><p>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.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a> +git clone git@git.davidtsadler.com:test.git</code></pre><h3>Links</h3><a href="/posts/git/">Git - Read More Posts.</a><p>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.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a>
\ No newline at end of file -- cgit v1.2.3-13-gbd6f