Skip to content

Instantly share code, notes, and snippets.

@xu3352
xu3352 / pre-commit.md
Last active Aug 12, 2017
SVN:pre-commit
View pre-commit.md
#!/bin/sh
#author:xu3352@gmail.com
#desc:check commit message length
REPOS="$1"
TXN="$2"
SVNLOOK=/usr/local/bin/svnlook
TIME=`date "+%Y-%m-%d %H:%M:%S"`
# env setting
@xu3352
xu3352 / git_toturial
Created Mar 18, 2017 — forked from guweigang/git_toturial
git命令大全
View git_toturial
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远程仓库
You can’t perform that action at this time.