Sometimes you want to use a specific SSH key when accessing a Git repository, e.g. when using a deploy key.
Use a key for every following git command:
export GIT_SSH_COMMAND="ssh -i /path/to/id_rsa"
#!/bin/bash | |
userList=$(cat /etc/passwd) | |
volume=/volume1/ | |
usedSpaceList="" | |
IFS=$'\n' | |
for user in $userList | |
do | |
userName=$(echo $user | cut -d : -f 1) |
Hi Windows users,
I can now sign my commits on Github using Git 2.18.0 and Github Desktop 1.6.1.
Here is what I have done:
.gitconfig
file properly:[user]