【git 学习使用】

设置用户名/邮箱
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com

设置ssh
$ ssh-keygen -t rsa -C "[email protected]"

拿到ssh
$ cat .ssh/id_rsa.pub

克隆已有代码
git clone
使用三部曲
git commit
git pull
git push

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章