Create README.md
This commit is contained in:
parent
a002c053fc
commit
d86a23db58
10
dotfiles_github/README.md
Normal file
10
dotfiles_github/README.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Cloning the repository
|
||||||
|
1. Get the SSH key. Save the content of the `.ssh/id_rsa` file to `~/.ssh/id_rsa`
|
||||||
|
2. Restrict the permissions for the file with `chmod 600 ~/.ssh/id_rsa`
|
||||||
|
3. Add the key to the agent:
|
||||||
|
```bash
|
||||||
|
eval $(ssh-agent -s) && \
|
||||||
|
ssh-add ~/.ssh/id_rsa
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Clone the repo with `git clone git@github.com:Jafner/dotfiles.git ~/Git/dotfiles`
|
Loading…
Reference in New Issue
Block a user