git
创建新的仓库
git init
全局配置
git config --list
git config --global user.name hilyso
git config --global user.email 2205040344@qq.com
全局配置
vim ~/.gitconfig |
验证ssh配置
ssh -T git@github.com
示例 1
拉取远程仓库到本地, 添加 123.txt后在推动至远程仓库
git init |
远程仓库管理
git remote add git@github.com:hilyso/hilyso.hithub.io.git
git remote show