git常用命令
-
git 配置用户名
- git config --global user.name "yourname"
- git config --global user.email "your email"
-
生成公钥
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
-
设置远程仓库
git remote add origin [url]
-
查看远程仓库地址
git remote -v
zhizunbao-monky 2021-01-10 21:10 原文
git 配置用户名
生成公钥
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
设置远程仓库
git remote add origin [url]
查看远程仓库地址
git remote -v