1.First you'll want to cd into your .ssh directory. Open up theterminal and run:
cd ~/.ssh&& ssh-keygen
2.Next you need to copy this to your clipboard:
catid_rsa.pub | xclip
3.Add your key to your account via the website.
4.Finally setup your .gitconfig:
git config --global user.name "chenjunliaaa"
git config --global user.email chenjunli@antiy.cn