Quantcast
Channel: 钻戒 and 仁豆米
Viewing all articles
Browse latest Browse all 290

Git的一些必用技巧

$
0
0

一、每次输入用户名和密码特别烦人,保存下来

git config --global credential.helper storegit pull

然后输入,用户名和密码就会存在 ~/.git-credentials文件中了

二、rebase的时候编辑器居然是nano,没法用,改成vi

git config core.editor vi

Viewing all articles
Browse latest Browse all 290

Trending Articles