【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

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