Last active
November 27, 2024 22:09
-
-
Save DaWe35/a8e17d9ce91c4d71cce4f1d87d3132f7 to your computer and use it in GitHub Desktop.
Git push with SSH key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# useful for aur arch | |
# generate an SSH key pair | |
cd repository | |
git config --add --local core.sshCommand 'ssh -i /home/user/.ssh/ssh_key' | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment