Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 535 Bytes

git.md

File metadata and controls

21 lines (18 loc) · 535 Bytes

Git

git-setup

Download & Install Git

# 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]