git,github

https://github.com/karterzhang

https://git-scm.com/

https://git-scm.com/book/zh/v2

http://www.runoob.com/git/git-basic-operations.html

http://www.runoob.com/w3cnote/git-guide.html

http://www.runoob.com/w3cnote/git-five-minutes-tutorial.html


https://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000


#git命令

D:\Users\Karter>git --version

git version 2.18.0.windows.1


git ini


$ git config --global user.name "karterzhang"

$ git config --global user.email "[email protected]"

$ git remote add origin https://github.com/karterzhang/mytest.git


~/.gitconfig

git config --list

$ git config --global user.name "John Doe" 
$ git config --global user.email [email protected]

再次強調,如果使用了 --global 選項,那麼該命令只需要運行一次,因爲之後無論你在該系統上做任何事情, Git 都會使用那些信息。

當你想針對特定項目使用不同的用戶名稱與郵件地址時,可以在那個項目目錄下運行沒有 --global 選項的命令來配置


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