博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Avoid Inputing Password While Pushing/Pulling Git Project
阅读量:5285 次
发布时间:2019-06-14

本文共 617 字,大约阅读时间需要 2 分钟。

If we add public key in our git account, we can pull/push project easily without password.

However, we need passwd every time when we pull/push project from https format url.

It is too frequently  to do such things and it is annoying. So, to avoid entering password

from time to time, we can set credential in our local git project, that would make things go 

easily. Here is the solution:

cd project
git config --global credential.helper cache git config --global credential.helper 'cache --timeout=3600'

 

Good news, we do not have to offer password in 1 hours now.

转载于:https://www.cnblogs.com/zhuangzebo/p/7061132.html

你可能感兴趣的文章
ES6 类
查看>>
BZOJ [P2124] 等差子序列
查看>>
C#断点续传下载文件
查看>>
asp.net session锁导致ajax请求阻塞
查看>>
JS一个好玩的文字表情滚动播放示例
查看>>
一个开始搞Linux的现任前端开发,用U盘装CentOS
查看>>
Comparison and usages among Statement, PreparedStatement, CallableStatement
查看>>
ubuntu 解决中文zip乱码问题
查看>>
XML(1)——shema约束之命名空间
查看>>
js异步请求发展史和yield
查看>>
imageWithRender(图片的渲染模式)
查看>>
xpath应用
查看>>
tfboys——tensorflow模块学习(一)
查看>>
Android 中Activity,Window和View之间的关系
查看>>
【记中关村.西北食府.兰州拉面】诗一首
查看>>
从co到koa01-co
查看>>
bzoj 2654: tree
查看>>
EasyUI——常见用法总结
查看>>
Python3 文件操作详解
查看>>
PyTorch学习笔记之DataLoaders
查看>>