浏览代码

Git SSH Command

codeskraps 8 月之前
父节点
当前提交
a3d923b875
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      content/posts/git_ssh_command.md

+ 1 - 1
content/posts/git_ssh_command.md

@@ -1,7 +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
-draft = true
+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.