配置 Gitlab 公钥
生成公钥
ssh-keygen -t rsa -C "your.email@example.com" -b 4096
复制公钥
仅仅是提供一种无须打开id_rsa.pub
文件便捷的方式去复制公钥
# mac
pbcopy < ~/.ssh/id_rsa.pub
# unix or linux (需要 xclip 工具)
xclip -sel clip < ~/.ssh/id_rsa.pub
# windows
type %userprofile%\.ssh\id_rsa.pub | clip
# git bash
cat ~/.ssh/id_rsa.pub | clip