Skip to content

Commit 9890ef3

Browse files
committed
更新文章
1 parent dbbb26b commit 9890ef3

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

_posts/2018-01-16-Git常用命令记录.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,8 @@ share: true
107107

108108
git reset --hard HEAD^
109109
git push -f
110+
111+
# 账号相关
112+
113+
运行以下命令,再运行一次 git pull / git push 等需要输入账号密码的命令,本次输入账号密码之后,以后需要输入账号密码的命令将不再需要输入。
114+
git config --global credential.helper store

_site/articles/Git常用命令记录/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,11 @@ <h2 id="已推送">已推送</h2>
240240
git push -f
241241
</code></pre></div></div>
242242

243+
<h1 id="账号相关">账号相关</h1>
244+
245+
<p>运行以下命令,再运行一次 git pull / git push 等需要输入账号密码的命令,本次输入账号密码之后,以后需要输入账号密码的命令将不再需要输入。
246+
git config –global credential.helper store</p>
247+
243248

244249
<div id="disqus_thread"></div><!-- /#disqus_thread -->
245250
<!-- / disqus 评论 -->

_site/feed.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<generator uri="https://github.com/mojombo/jekyll">Jekyll</generator>
55
<link rel="self" type="application/atom+xml" href="http://localhost:4000/feed.xml" />
66
<link rel="alternate" type="text/html" href="http://localhost:4000" />
7-
<updated>2018-03-28T08:39:05+00:00</updated>
7+
<updated>2018-04-19T01:16:46+00:00</updated>
88
<id>http://localhost:4000/</id>
99
<author>
1010
<name>Leo Zhang</name>
@@ -381,6 +381,11 @@ git reset --hard
381381
git push -f
382382
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
383383

384+
&lt;h1 id=&quot;账号相关&quot;&gt;账号相关&lt;/h1&gt;
385+
386+
&lt;p&gt;运行以下命令,再运行一次 git pull / git push 等需要输入账号密码的命令,本次输入账号密码之后,以后需要输入账号密码的命令将不再需要输入。
387+
git config –global credential.helper store&lt;/p&gt;
388+
384389
&lt;p&gt;&lt;a href=&quot;http://localhost:4000/articles/Git%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4%E8%AE%B0%E5%BD%95/&quot;&gt;Git常用命令记录&lt;/a&gt; was originally published by Leo Zhang at &lt;a href=&quot;http://localhost:4000&quot;&gt;叶子&lt;/a&gt; on January 16, 2018.&lt;/p&gt;</content>
385390
</entry>
386391

0 commit comments

Comments
 (0)