git常用操作(日常用到的)

git初始化 清空现有的key rm -rf ~/.ssh/* 运行 ssh-keygen -t rsa -b 4096 -C "你的邮箱" 执行 cat ~/.ssh/id_rsa.pub 把得到的公钥放到GitHub上 执行 ssh -T [email protected] 之后配置下git(这是全局配置,如果配置单个仓库,去掉global即可) git config --global use
相关文章
相关标签/搜索