架构 开发工具 运维工具箱-开发常用工具 git 1 2 3 4 5 # 合并分支内容到当前缓冲区 git merge --squash dev # 查找被 .gitignore 忽略的文件 - 会匹配子目录下的 gitignore 文件 git ls-files -o -i --exclude-standard go 1 2 3 go env -w GOPROXY=https://goproxy.cn,direct export GOPROXY=https://goproxy.io,direct python 1 2 3 4 5 6 7 8 9 10 11 # 简单的web服务,可放置 index.html 页面使用 python -m BaseHTTPServer python -m SimpleHTTPServer [8000] # py3 开启一个文件服务器 python -m http.server # 更新私有 pypi 仓库的索引 dir2pi /data/share/pypi