可能是我之前執行某個操作的時候。設定了在 push 的時候預設執行某條指令,如下圖:
請問這個預設的指令怎麼清除啊,我在 push 的時候就僅僅執行 push
push
找到.gitconfig檔案刪除檔案內[credential] 下的內容即可
.gitconfig
看這裡看這裡
試試這個呢
git config --global credential.helper store
找到
.gitconfig
檔案刪除檔案內[credential] 下的內容即可看這裡看這裡
試試這個呢
git config --global credential.helper store