我目前正在学习使用 Git 和 GitHub 管理版本控制和工作流的HubFlow方法。
我创建了这个虚拟存储库以获得一些实践经验。
我尝试过某些命令,例如
git hf update
多次提示我输入 GitHub 凭据。
这是一个例子:
macair:learnhubflow simkimsia$ git hf update
Fetching origin
Already on 'master'
From https://github.com/simkimsia/learnhubflow
* branch master -> FETCH_HEAD
Already up-to-date.
Username:
Password:
Everything up-to-date
Switched to branch 'develop'
Your branch is behind 'origin/develop' by 2 commits, and can be fast-forwarded.
From https://github.com/simkimsia/learnhubflow
* branch develop -> FETCH_HEAD
Updating d76bec3..b351907
Fast-forward
IMG_0001-w800-h600.png | Bin 0 -> 192787 bytes
1 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 IMG_0001-w800-h600.png
Username:
Password:
Everything up-to-date
Switched to branch 'master'
Summary of actions:
- Changes from origin/master have been pulled into branch 'master'
- Changes from origin/develop have been pulled into branch 'develop'
- You are now on branch 'master'
有没有办法让我每次使用 HubFlow 命令时只需提供一次 GitHub 凭据?