419 B
419 B
Cloning the repository
- Get the SSH key. Save the content of the
.ssh/id_rsa
file to~/.ssh/id_rsa
- Restrict the permissions for the file with
chmod 600 ~/.ssh/id_rsa
- Add the key to the agent:
eval $(ssh-agent -s) && \
ssh-add ~/.ssh/id_rsa
- Clone the repo with
git clone git@github.com:Jafner/dotfiles.git ~/Git/dotfiles
- Copy the file contents over with
cp -rf ~/Git/dotfiles/* ~/