# 解决git pull 每次都要输入用户名密码的问题

**URL:** <https://www.shiqidu.com/t/topic/393>\
**Category:** 开发调优\
**Tags:** GitHub\
**Created:** [2018 年4 月 3 日 09:12 UTC](https://www.shiqidu.com/t/topic/393 "2018-04-03T09:12:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

作者： ![Leon](https://www.shiqidu.com/user_avatar/www.shiqidu.com/leon/32/5_2.png) [@Leon](https://www.shiqidu.com/u/Leon)\
发布日期： [2018 年4 月 3 日 09:12 UTC](https://www.shiqidu.com/t/topic/393/1 "2018-04-03T09:12:37Z")

</div>

如果项目是git clone https项目地址下来的话，每次git pull都要提示输入用户名和密码，非常烦人。

解决此问题只需要在项目目录下执行`git config --global credential.helper store`命令。

然后重试git pull 再输入一次用户名和密码，然后接下来在pull的话就不需要用户名和密码了。
