function git_corb() {
if [[ -z "$1" ]]; then
echo "missing remote branch name for 'git checkout remote branch'"
return 1
else
git checkout -b "$1" origin/"$1"
fi
}
alvinu / golang-cookbook Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ymm135/golang-cookbook
golang基础知识及实现,偏重于数据结构。另外包含web开源项目(中间件)的日常使用