Configure Git

Updated . Posted . Visible to the public.
git config --global color.ui true
git config --global user.name "<your_name>"
git config --global user.email "<your_email>"

ssh-keygen -t rsa -b 4096 -C "<your_email>"

cat ~/.ssh/id_rsa.pub

To automatically add to clipboard without viewing:

sudo apt-get install xclip

sudo xclip -sel clip < ~/.ssh/id_rsa.pub

If you need hashed password:

sudo apt-get install whois

sudo mkpasswd -m sha-512
hashharvest
Last edit
hashharvest
Posted by hashharvest to Rails CheatSheets (2017-11-17 07:49)