➜ Music git config --global https.proxy 127.0.0.1:4780
➜ Music git config --global http.proxy 127.0.0.1:4780



git config --global --unset http.proxy
git config --global --unset https.proxy



➜ git config --global https.proxy 127.0.0.1:4780
➜ git config --global http.proxy 127.0.0.1:4780

 

是 http 端口,

 

不是 socks 端口



https://github.com/hawtim/blog/issues/10



home brew:

 

But instead of using $(brew --repo) you can also just directly reference the directory that command outputs: /usr/local/Homebrew/.

 

Just look at the output when you run $(brew --repo); same exact thing.



git show @

git show HEAD

 

 

 

git show @~1

git show HEAD~1

 

 

 

 

git checkout -b test @~1

git checkout -b test HEAD~1



 

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐