docs: update home/linux/Setting-Up-Git
This commit is contained in:
parent
15433a8dbd
commit
ae149c6057
@ -2,7 +2,7 @@
|
||||
title: Setting Up Git
|
||||
description: Steps to get up and running with Git
|
||||
published: true
|
||||
date: 2024-06-30T21:17:08.382Z
|
||||
date: 2024-07-04T22:14:00.453Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2024-06-30T20:44:58.238Z
|
||||
@ -35,3 +35,17 @@ ssh-keygen -t ed25519
|
||||
cat ~/.ssh/id_ed25519.pub
|
||||
```
|
||||
4. Clone desired repo using ssh
|
||||
|
||||
---
|
||||
|
||||
# Notes:
|
||||
In the even you rename the key to something other than `id_rsa`, add config file to .ssh folder
|
||||
`touch ~/.ssh/config` then add:
|
||||
|
||||
```bash
|
||||
Host github.com or git server
|
||||
Hostname github.com
|
||||
IdentityFile /path/to/privateKey
|
||||
```
|
||||
`stat -c %a keyfile` checks permissions of key if needed, must be 600
|
||||
`chmod 600 keyfile`
|
||||
Loading…
x
Reference in New Issue
Block a user