# Set git configuration
git config --global user.name "MyUserName>"
git config --global user.email "[email protected]"
# Remove any existing ssh-keys
cd ~/.ssh
rm id_rsa*
# Setup SSH key for communicating with GitServer
ssh-keygen -t rsa -C "[email protected]"
# Input a *KEY* for SSH key generation
# Copy contents of ~/.ssh/id_rsa.pub & paste in github/bitbucket->settings->ssh-key
# Verify setup
ssh -T git@gitServer
# e.g. ssh -T [email protected]