Skip to content

Instantly share code, notes, and snippets.

View haroldduan's full-sized avatar
🤒
Dying

Mr.Ximen haroldduan

🤒
Dying
View GitHub Profile
@haroldduan
haroldduan / vim的常用命令.md
Created December 8, 2016 13:34 — forked from mba811/vim的常用命令.md
vim的常用命令

打开/退出

vim -R file1 只读打开
:qall 退出所有文件
:wq 写入并退出
:q! 强制退出

插入

i 在当前位置生前插入

@haroldduan
haroldduan / git_toturial
Last active December 6, 2016 16:04 — forked from guweigang/git_toturial
git命令大全
git init # 初始化本地git仓库(创建新仓库)
git config --global user.name "xxx" # 配置用户名
git config --global user.email "xxx@xxx.com" # 配置邮件
git config --global color.ui true # git status等命令自动着色
git config --global color.status auto
git config --global color.diff auto
git config --global color.branch auto
git config --global color.interactive auto
git config --global --unset http.proxy # remove proxy configuration on git
git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库