|
@@ -86,9 +86,7 @@ Posts | codeskraps
|
|
|
<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’t yet a local <code>.git/config</code> file to modify.</p>
|
|
|
-<h2 id="the-problem">The Problem</h2>
|
|
|
-<p>Imagine you’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’s <code>.git/config</code> file. But what if you’re just getting started and don’t have these files set up yet?</p></p>
|
|
|
+ <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’t yet a local <code>.git/config</code> file to modify.</p></p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a>
|