diff --git a/docs/git/ssh-config.md b/docs/git/ssh-config.md index 640a995..38a9fe1 100644 --- a/docs/git/ssh-config.md +++ b/docs/git/ssh-config.md @@ -11,4 +11,21 @@ Host github.com User git IdentityFile ~/.ssh/my-github-key PreferredAuthentications publickey +``` + +## Generate SSH Key + +Use the following to generate a new SSH key: + +```bash +ssh-keygen -t ed25519 -C "" +``` + +## Configure Git User + +You can configure your Git user name and email using the following commands: + +```bash +git config --global user.name "Your Name" +git config --global user.email "" ``` \ No newline at end of file