Git 使用
git 设置和取消代理
| git config --global https.proxy http://127.0.0.1:1080 |
| ------------------------------------------------------ |
| git config --global https.proxy https://127.0.0.1:1080 |
| |
| git config --global --unset http.proxy |
| |
| git config --global --unset https.proxy |
| |
| |
| npm config delete proxy |
git rebase
合并多个提交时,第一个 commit 应该选择选择pick , 不做变动;
git 版本管理思考
1. 以tag实行版本管理, 不相容的版本需要新建(特性)分支管理;
2. 使用分支管理版本, 那么最好在commit message 中添加`当前版本号`, 不相容的版本也需要新建(特性)分支管理;

浙公网安备 33010602011771号