Git全域設定檔global .gitconfig在Linux的預設位置在~/.gitconfig,,為root帳號目錄。
以Rocky Linux的root為例,輸入ls -a ~/檢視~/目錄下的所有檔案,即可看到.gitconfig。
[root@dev ~]# ls -a ~/
. .. anaconda-ks.cfg .bash_history .bash_logout .bash_profile .bashrc .config .cshrc .docker .gitconfig .lesshst .nvm .ssh .tcshrc temp .viminfo .wget-hsts
沒有留言:
張貼留言