git簡單設定

2021-08-26 04:00:04 字數 303 閱讀 2924

git是分布式的,因此不存在向使用者詢問姓名和郵件位址的**版本庫。通過命令git config,使用者可以把此類資訊提供給本地版本庫。

git中最常用的三個全域性設定是姓名、郵件、視窗顏色。

git config --global user.name "xx"

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

git config --global color.ui "auto"

用下面命令可以檢查上述設定是否成功:

git config --global --list

git的簡單設定

git使用者名稱等的配置通常都用類似於下面的格式 git config global user.name yourname 配置使用者 git config global core.pager less x1,5 配置tab鍵的寬度,寬度為5 1 4,可以自己修改這個值,例如 less x1,3 等...

git初始化簡單設定

git config global user.name gaochaowie git config global user.email gaochaoweino qq.com git init git add readme.txt git commit m wrote a readme file g...

Wind IDE簡單設定

1 恢復初始設定。edit preferences factory defaults 2 py檔案中顯示中文。edit preferences user inte ce中 display font size修改為 use selected font size simsun 10 source cod...