1. 程式人生 > >git當前項目免密提交

git當前項目免密提交

spa pan false 目錄 pos 項目目錄 for merge osi

在項目目錄下,執行:

vim .git/config

在url後邊添加用戶名密碼即可 ``` [core] repositoryformatversion
= 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = https://帳號:密碼@github.com/xxx/xxxlery-demo.git # 添加用戶名密碼 fetch = +refs/heads/*:refs/remotes/origin/* url = http://帳號:密碼@xxxxx.cn/xxx/xxxlery-demo.git # 添加用戶名密碼 [branch "master"] remote = origin merge = refs/heads/master ```

git當前項目免密提交