标签:spec exp username hub seconds caching man for osi
Run following command to enable credential caching.
$ git config credential.helper store
$ git push https://github.com/repo.git
Username for ‘https://github.com‘: <USERNAME>
Password for ‘https://USERNAME@github.com‘: <PASSWORD>
Use should also specify caching expire,
git config --global credential.helper ‘cache --timeout 7200‘
After enabling credential caching, it will be cached for 7200 seconds (2 hour).
标签:spec exp username hub seconds caching man for osi
原文地址:http://www.cnblogs.com/oxspirt/p/6165710.html