close

image

git version

檢查版本

image

git help 顯示git 有哪些指令

pwd:mac,linux底下顯示路徑

cd:windows底下顯示路徑

 

安裝好git後先設定使用者名稱跟email,在push遠端的時候會用到

git config --global user.name "Yourname"

git config --global user.email "Youremail"

git config --global --list

顯示global中的變數

在windows底下通過type可以顯示.gitconfig檔案中的內容

通過cd /d 路徑

可以轉換位置到路徑

dir/s 檔案名稱 可以搜尋當前路徑底下的某個檔案

 


arrow
arrow

    低階ㄇㄋ 發表在 痞客邦 留言(0) 人氣()