Caching your GitHub password in Git 4年前

Turn on the credential helper so that Git will save your password in memory for some time. By default, Git will cache your password for 15 minutes.
Step 1. On the command line, enter the following:

git config --global credential.helper cache
# Set git to use the credential memory cache

Step 2. To change the default password cache timeout, enter the following:

git config --global credential.helper 'cache --timeout=3600'
# Set the cache to timeout after 1 hour (setting is in seconds)
饮冰苗苗
宣纸泛黄,时间流逝,即使眨眼即过,也要抓住那瞬间的辉煌。
2
发布数
1
关注者
2818
累计阅读

热门教程文档

C++
73小节
React Native
40小节
Spring Boot
24小节
MyBatis
19小节
Vue
25小节
广告