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 选项的命令来配置


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