Browse Source

Add tags to git ssh command post

codeskraps 6 months ago
parent
commit
3ccaa73410

+ 1 - 0
content/posts/git_ssh_command.md

@@ -1,6 +1,7 @@
 +++
 +++
 title = 'Configuring SSH Keys for Individual Git Commands'
 title = 'Configuring SSH Keys for Individual Git Commands'
 date = 2024-10-02T16:55:53+02:00
 date = 2024-10-02T16:55:53+02:00
+tags = ['git', 'ssh']
 draft = false
 draft = false
 +++
 +++
 When working with Git repositories, you often need to authenticate using SSH keys. While you can configure SSH settings globally, there are times when you need to use a specific SSH key for just one command. This is particularly useful when cloning a new repository or adding a submodule, where there isn't yet a local `.git/config` file to modify.
 When working with Git repositories, you often need to authenticate using SSH keys. While you can configure SSH settings globally, there are times when you need to use a specific SSH key for just one command. This is particularly useful when cloning a new repository or adding a submodule, where there isn't yet a local `.git/config` file to modify.

+ 6 - 0
public/posts/git_ssh_command/index.html

@@ -71,6 +71,12 @@ Configuring SSH Keys for Individual Git Commands | codeskraps
     <section class="postMetadata">
     <section class="postMetadata">
         <dl>
         <dl>
             
             
+                
+<dt>tags</dt>
+<dd><span></span>
+    <a href="/tags/git/">#Git</a><span></span>
+    <a href="/tags/ssh/">#Ssh</a></dd>
+            
             
             
             
             
             
             

+ 9 - 3
public/sitemap.xml

@@ -9,9 +9,18 @@
   </url><url>
   </url><url>
     <loc>https://codeskraps.com/posts/git_ssh_command/</loc>
     <loc>https://codeskraps.com/posts/git_ssh_command/</loc>
     <lastmod>2024-10-02T16:55:53+02:00</lastmod>
     <lastmod>2024-10-02T16:55:53+02:00</lastmod>
+  </url><url>
+    <loc>https://codeskraps.com/tags/git/</loc>
+    <lastmod>2024-10-02T16:55:53+02:00</lastmod>
   </url><url>
   </url><url>
     <loc>https://codeskraps.com/posts/</loc>
     <loc>https://codeskraps.com/posts/</loc>
     <lastmod>2024-10-02T16:55:53+02:00</lastmod>
     <lastmod>2024-10-02T16:55:53+02:00</lastmod>
+  </url><url>
+    <loc>https://codeskraps.com/tags/ssh/</loc>
+    <lastmod>2024-10-02T16:55:53+02:00</lastmod>
+  </url><url>
+    <loc>https://codeskraps.com/tags/</loc>
+    <lastmod>2024-10-02T16:55:53+02:00</lastmod>
   </url><url>
   </url><url>
     <loc>https://codeskraps.com/tags/android/</loc>
     <loc>https://codeskraps.com/tags/android/</loc>
     <lastmod>2024-09-27T13:45:09+02:00</lastmod>
     <lastmod>2024-09-27T13:45:09+02:00</lastmod>
@@ -33,9 +42,6 @@
   </url><url>
   </url><url>
     <loc>https://codeskraps.com/posts/mvi_architecture/</loc>
     <loc>https://codeskraps.com/posts/mvi_architecture/</loc>
     <lastmod>2024-09-27T13:45:09+02:00</lastmod>
     <lastmod>2024-09-27T13:45:09+02:00</lastmod>
-  </url><url>
-    <loc>https://codeskraps.com/tags/</loc>
-    <lastmod>2024-09-27T13:45:09+02:00</lastmod>
   </url><url>
   </url><url>
     <loc>https://codeskraps.com/tags/viewmodel/</loc>
     <loc>https://codeskraps.com/tags/viewmodel/</loc>
     <lastmod>2024-09-27T13:45:09+02:00</lastmod>
     <lastmod>2024-09-27T13:45:09+02:00</lastmod>

+ 115 - 0
public/tags/git/index.html

@@ -0,0 +1,115 @@
+<!DOCTYPE html>
+<html lang="en-us">
+
+<head>
+    <title>
+Git | codeskraps
+</title>
+
+    <meta http-equiv="content-type" content="text/html; charset=utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="description" content="Your website description">
+
+<meta name="generator" content="Hugo 0.134.3">
+
+
+<link rel="canonical" href="https://codeskraps.com/tags/git/" >
+  <link href="https://codeskraps.com/tags/git/index.xml" rel="alternate" type="application/rss+xml" title="codeskraps" >
+  <link href="https://codeskraps.com/tags/git/index.xml" rel="feed" type="application/rss+xml" title="codeskraps" >
+
+
+
+
+<link href="/css/style.min.ee0d47e4d4346c71a65a9e873108c81ffae54d60a2fc2338f6df394eb4b25a82.css" rel="stylesheet">
+
+
+
+
+</head>
+
+<body>
+
+    <div class="flexWrapper">
+        <header class="headerWrapper">
+    <div class="header">
+        <div>
+            <a class="terminal" href="https://codeskraps.com/">
+                <span>me@codeskraps.com ~ $</span>
+            </a>
+        </div>
+        <input class="side-menu" type="checkbox" id="side-menu">
+        <label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
+        <nav class="headerLinks">
+            <ul>
+                
+                <li>
+                    <a href="https://codeskraps.com/projects/" title="" >
+                        ~/projects</a>
+                </li>
+                
+                <li>
+                    <a href="https://codeskraps.com/about/" title="" >
+                        ~/about</a>
+                </li>
+                
+                <li>
+                    <a href="https://codeskraps.com/posts/" title="" >
+                        ~/posts</a>
+                </li>
+                
+            </ul>
+        </nav>
+    </div>
+</header>
+
+
+        <div class="content">
+            <main class="main">
+                
+
+<div>
+    <div class="listHeader">
+        <h1>Git</h1>
+    </div>
+
+    
+
+    <div>
+        
+
+        <a class="postListLink" href="https://codeskraps.com/posts/git_ssh_command/">
+            
+            <div class="postListItem" role="listitem">
+                <div class="postHeader">
+                    <span class="postTitle">Configuring SSH Keys for Individual Git Commands</span>
+                    
+                    <time class="postDate" datetime="2024-10-02">October 2, 2024</time>
+                </div>
+                <div class="postExcerpt">
+                    <p><p>When working with Git repositories, you often need to authenticate using SSH keys. While you can configure SSH settings globally, there are times when you need to use a specific SSH key for just one command. This is particularly useful when cloning a new repository or adding a submodule, where there isn&rsquo;t yet a local <code>.git/config</code> file to modify.</p>
+<h2 id="the-problem">The Problem</h2>
+<p>Imagine you&rsquo;re working on a project that requires you to clone a repository using a specific SSH key. Normally, you might edit your SSH config file or the repository&rsquo;s <code>.git/config</code> file. But what if you&rsquo;re just getting started and don&rsquo;t have these files set up yet?</p></p>
+                </div>
+            </div>
+        </a>
+
+
+        
+    </div>
+</div>
+
+
+            </main>
+        </div>
+
+
+        <footer class="footer">
+    
+        <span>Built with <a href="https://gohugo.io" class="footerLink">Hugo</a> and <a href="https://github.com/LordMathis/hugo-theme-nightfall" class="footerLink">Nightfall</a> theme</span>
+    
+</footer>
+    </div>
+
+</body>
+
+</html>

+ 21 - 0
public/tags/git/index.xml

@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+  <channel>
+    <title>Git on codeskraps</title>
+    <link>https://codeskraps.com/tags/git/</link>
+    <description>Recent content in Git on codeskraps</description>
+    <generator>Hugo</generator>
+    <language>en-us</language>
+    <managingEditor>me@codeskraps.com (codeskraps)</managingEditor>
+    <webMaster>me@codeskraps.com (codeskraps)</webMaster>
+    <lastBuildDate>Wed, 02 Oct 2024 16:55:53 +0200</lastBuildDate>
+    <atom:link href="https://codeskraps.com/tags/git/index.xml" rel="self" type="application/rss+xml" />
+    <item>
+      <title>Configuring SSH Keys for Individual Git Commands</title>
+      <link>https://codeskraps.com/posts/git_ssh_command/</link>
+      <pubDate>Wed, 02 Oct 2024 16:55:53 +0200</pubDate><author>me@codeskraps.com (codeskraps)</author>
+      <guid>https://codeskraps.com/posts/git_ssh_command/</guid>
+      <description>&lt;p&gt;When working with Git repositories, you often need to authenticate using SSH keys. While you can configure SSH settings globally, there are times when you need to use a specific SSH key for just one command. This is particularly useful when cloning a new repository or adding a submodule, where there isn&amp;rsquo;t yet a local &lt;code&gt;.git/config&lt;/code&gt; file to modify.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-problem&#34;&gt;The Problem&lt;/h2&gt;&#xA;&lt;p&gt;Imagine you&amp;rsquo;re working on a project that requires you to clone a repository using a specific SSH key. Normally, you might edit your SSH config file or the repository&amp;rsquo;s &lt;code&gt;.git/config&lt;/code&gt; file. But what if you&amp;rsquo;re just getting started and don&amp;rsquo;t have these files set up yet?&lt;/p&gt;</description>
+    </item>
+  </channel>
+</rss>

+ 34 - 0
public/tags/index.html

@@ -77,6 +77,40 @@ Tags | codeskraps
     <div>
     <div>
         
         
 
 
+        <a class="postListLink" href="https://codeskraps.com/tags/git/">
+            
+            <div class="postListItem" role="listitem">
+                <div class="postHeader">
+                    <span class="postTitle">Git</span>
+                    
+                    <time class="postDate" datetime="2024-10-02">October 2, 2024</time>
+                </div>
+                <div class="postExcerpt">
+                    <p></p>
+                </div>
+            </div>
+        </a>
+
+
+        
+
+        <a class="postListLink" href="https://codeskraps.com/tags/ssh/">
+            
+            <div class="postListItem" role="listitem">
+                <div class="postHeader">
+                    <span class="postTitle">Ssh</span>
+                    
+                    <time class="postDate" datetime="2024-10-02">October 2, 2024</time>
+                </div>
+                <div class="postExcerpt">
+                    <p></p>
+                </div>
+            </div>
+        </a>
+
+
+        
+
         <a class="postListLink" href="https://codeskraps.com/tags/android/">
         <a class="postListLink" href="https://codeskraps.com/tags/android/">
             
             
             <div class="postListItem" role="listitem">
             <div class="postListItem" role="listitem">

+ 15 - 1
public/tags/index.xml

@@ -8,8 +8,22 @@
     <language>en-us</language>
     <language>en-us</language>
     <managingEditor>me@codeskraps.com (codeskraps)</managingEditor>
     <managingEditor>me@codeskraps.com (codeskraps)</managingEditor>
     <webMaster>me@codeskraps.com (codeskraps)</webMaster>
     <webMaster>me@codeskraps.com (codeskraps)</webMaster>
-    <lastBuildDate>Fri, 27 Sep 2024 13:45:09 +0200</lastBuildDate>
+    <lastBuildDate>Wed, 02 Oct 2024 16:55:53 +0200</lastBuildDate>
     <atom:link href="https://codeskraps.com/tags/index.xml" rel="self" type="application/rss+xml" />
     <atom:link href="https://codeskraps.com/tags/index.xml" rel="self" type="application/rss+xml" />
+    <item>
+      <title>Git</title>
+      <link>https://codeskraps.com/tags/git/</link>
+      <pubDate>Wed, 02 Oct 2024 16:55:53 +0200</pubDate><author>me@codeskraps.com (codeskraps)</author>
+      <guid>https://codeskraps.com/tags/git/</guid>
+      <description></description>
+    </item>
+    <item>
+      <title>Ssh</title>
+      <link>https://codeskraps.com/tags/ssh/</link>
+      <pubDate>Wed, 02 Oct 2024 16:55:53 +0200</pubDate><author>me@codeskraps.com (codeskraps)</author>
+      <guid>https://codeskraps.com/tags/ssh/</guid>
+      <description></description>
+    </item>
     <item>
     <item>
       <title>Android</title>
       <title>Android</title>
       <link>https://codeskraps.com/tags/android/</link>
       <link>https://codeskraps.com/tags/android/</link>

+ 115 - 0
public/tags/ssh/index.html

@@ -0,0 +1,115 @@
+<!DOCTYPE html>
+<html lang="en-us">
+
+<head>
+    <title>
+Ssh | codeskraps
+</title>
+
+    <meta http-equiv="content-type" content="text/html; charset=utf-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta name="description" content="Your website description">
+
+<meta name="generator" content="Hugo 0.134.3">
+
+
+<link rel="canonical" href="https://codeskraps.com/tags/ssh/" >
+  <link href="https://codeskraps.com/tags/ssh/index.xml" rel="alternate" type="application/rss+xml" title="codeskraps" >
+  <link href="https://codeskraps.com/tags/ssh/index.xml" rel="feed" type="application/rss+xml" title="codeskraps" >
+
+
+
+
+<link href="/css/style.min.ee0d47e4d4346c71a65a9e873108c81ffae54d60a2fc2338f6df394eb4b25a82.css" rel="stylesheet">
+
+
+
+
+</head>
+
+<body>
+
+    <div class="flexWrapper">
+        <header class="headerWrapper">
+    <div class="header">
+        <div>
+            <a class="terminal" href="https://codeskraps.com/">
+                <span>me@codeskraps.com ~ $</span>
+            </a>
+        </div>
+        <input class="side-menu" type="checkbox" id="side-menu">
+        <label class="hamb" for="side-menu"><span class="hamb-line"></span></label>
+        <nav class="headerLinks">
+            <ul>
+                
+                <li>
+                    <a href="https://codeskraps.com/projects/" title="" >
+                        ~/projects</a>
+                </li>
+                
+                <li>
+                    <a href="https://codeskraps.com/about/" title="" >
+                        ~/about</a>
+                </li>
+                
+                <li>
+                    <a href="https://codeskraps.com/posts/" title="" >
+                        ~/posts</a>
+                </li>
+                
+            </ul>
+        </nav>
+    </div>
+</header>
+
+
+        <div class="content">
+            <main class="main">
+                
+
+<div>
+    <div class="listHeader">
+        <h1>Ssh</h1>
+    </div>
+
+    
+
+    <div>
+        
+
+        <a class="postListLink" href="https://codeskraps.com/posts/git_ssh_command/">
+            
+            <div class="postListItem" role="listitem">
+                <div class="postHeader">
+                    <span class="postTitle">Configuring SSH Keys for Individual Git Commands</span>
+                    
+                    <time class="postDate" datetime="2024-10-02">October 2, 2024</time>
+                </div>
+                <div class="postExcerpt">
+                    <p><p>When working with Git repositories, you often need to authenticate using SSH keys. While you can configure SSH settings globally, there are times when you need to use a specific SSH key for just one command. This is particularly useful when cloning a new repository or adding a submodule, where there isn&rsquo;t yet a local <code>.git/config</code> file to modify.</p>
+<h2 id="the-problem">The Problem</h2>
+<p>Imagine you&rsquo;re working on a project that requires you to clone a repository using a specific SSH key. Normally, you might edit your SSH config file or the repository&rsquo;s <code>.git/config</code> file. But what if you&rsquo;re just getting started and don&rsquo;t have these files set up yet?</p></p>
+                </div>
+            </div>
+        </a>
+
+
+        
+    </div>
+</div>
+
+
+            </main>
+        </div>
+
+
+        <footer class="footer">
+    
+        <span>Built with <a href="https://gohugo.io" class="footerLink">Hugo</a> and <a href="https://github.com/LordMathis/hugo-theme-nightfall" class="footerLink">Nightfall</a> theme</span>
+    
+</footer>
+    </div>
+
+</body>
+
+</html>

+ 21 - 0
public/tags/ssh/index.xml

@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+  <channel>
+    <title>Ssh on codeskraps</title>
+    <link>https://codeskraps.com/tags/ssh/</link>
+    <description>Recent content in Ssh on codeskraps</description>
+    <generator>Hugo</generator>
+    <language>en-us</language>
+    <managingEditor>me@codeskraps.com (codeskraps)</managingEditor>
+    <webMaster>me@codeskraps.com (codeskraps)</webMaster>
+    <lastBuildDate>Wed, 02 Oct 2024 16:55:53 +0200</lastBuildDate>
+    <atom:link href="https://codeskraps.com/tags/ssh/index.xml" rel="self" type="application/rss+xml" />
+    <item>
+      <title>Configuring SSH Keys for Individual Git Commands</title>
+      <link>https://codeskraps.com/posts/git_ssh_command/</link>
+      <pubDate>Wed, 02 Oct 2024 16:55:53 +0200</pubDate><author>me@codeskraps.com (codeskraps)</author>
+      <guid>https://codeskraps.com/posts/git_ssh_command/</guid>
+      <description>&lt;p&gt;When working with Git repositories, you often need to authenticate using SSH keys. While you can configure SSH settings globally, there are times when you need to use a specific SSH key for just one command. This is particularly useful when cloning a new repository or adding a submodule, where there isn&amp;rsquo;t yet a local &lt;code&gt;.git/config&lt;/code&gt; file to modify.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-problem&#34;&gt;The Problem&lt;/h2&gt;&#xA;&lt;p&gt;Imagine you&amp;rsquo;re working on a project that requires you to clone a repository using a specific SSH key. Normally, you might edit your SSH config file or the repository&amp;rsquo;s &lt;code&gt;.git/config&lt;/code&gt; file. But what if you&amp;rsquo;re just getting started and don&amp;rsquo;t have these files set up yet?&lt;/p&gt;</description>
+    </item>
+  </channel>
+</rss>