个人笔记记录(常用)

个人笔记


Git实用命令集合

<p><strong>Git密钥生成</strong></p> <pre><code>ssh-keygen</code></pre> <p><strong>用户及邮箱设置</strong></p> <pre><code>git config --global user.name "huangwj" git config --global user.email "huangwj@paxsz.com"</code></pre> <p><strong>git永久保存账号及密码</strong></p> <pre><code>git config --global credential.helper store</code></pre> <p><strong>创建git添加、提交、推送组合命令</strong></p> <pre><code>git config --global alias.cmp '!f() { git add -A &amp;&amp; git commit -m "$@" &amp;&amp; git push; }; f'</code></pre>

页面列表

ITEM_HTML