git單功能合并
寫新功能
正式服發(fā)現(xiàn)bug
1.基于正式服務(wù)拉一個(gè)新分支改完,合并到測試服 測試,沒有問題合并到man分支刪除開發(fā)分支
2.在開發(fā)開發(fā),切到測試分支cherry 剛剛的提交,測試通過后,正式服cherry新的提交
github國內(nèi)無法訪問
fatal: Could not read from remote repository.
或者ssh: connect to host github.com port 22: Connection timed out
http設(shè)置代理:
git config --global http.proxy [http://localhost:1080]
--替換[]中的內(nèi)容
git@github設(shè)置代理:
1.在~/ssh目錄下新建 config文件
- 文件中追加
Host github.com
Hostname ssh.github.com
Port 443
User git
ProxyCommand nc -x [proxy.server]:[proxyport] %h %p
--替換[]中的內(nèi)容