廖雪峯git

在Windows上安裝Git

在Windows上使用Git,可以從Git官網直接下載安裝程序,(網速慢的同學請移步國內鏡像),然後按默認選項安裝即可。

安裝完成後,在開始菜單裏找到“Git”->“Git Bash”,蹦出一個類似命令行窗口的東西,就說明Git安裝成功!

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

 

初始化一個本地倉庫init

git init

 

命令行

克隆clone

git clone https://

 

提交項目commit

git add

git commit -m "描述"

 

推送push

git config user.name ""

git config user.email ""

git push

 

拉取pull

git pull

 

TortoiseGit軟件

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