Last active
July 11, 2020 06:36
-
-
Save waqashamid/73ef3ba330c6155f7090b7ef4b26666e to your computer and use it in GitHub Desktop.
[Useful GIT commands]
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
# You might need to start ssh-agent before you run the ssh-add command: | |
eval `ssh-agent -s` | |
ssh-add | |
# Lists already added identities (‘ssh keys’) | |
ssh-add -l | |
Then, if you don't see your key listed, add it with the following (replace identity with its real name): | |
# Add a new identity | |
ssh-add ~/.ssh/identity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment