【发布时间】:2021-12-23 10:26:34
【问题描述】:
实际上我想拉和推送一个存储库,但是当我让 git pull 不要求输入密码时,例如我做了一个 git status a 这就是结果
-> % git status
On branch beta
Your branch is ahead of 'origin/beta' by 1 commit.
(use "git push" to publish your local commits)
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: account_dynamic_reports/models/res_company.py
git status 运行良好,但是当我进行 git pull 或 git push 时,日志不会像这样
-> % git pull
连密码都不问
【问题讨论】:
-
git pull只要求在私有存储库中输入密码。除此之外,git 可能会将密码保存在凭证存储中。
标签: git visual-studio-code bitbucket