From d86a23db5873d8e4b91ccc2ca35f4d4b2c79e050 Mon Sep 17 00:00:00 2001 From: Jafner <40403594+Jafner@users.noreply.github.com> Date: Thu, 11 Nov 2021 18:10:48 -0800 Subject: [PATCH] Create README.md --- dotfiles_github/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 dotfiles_github/README.md diff --git a/dotfiles_github/README.md b/dotfiles_github/README.md new file mode 100644 index 00000000..24d99034 --- /dev/null +++ b/dotfiles_github/README.md @@ -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`