# unknown > 【技术】 - Author: samoyedsun - Repository: samoyedsun/samoyedsun.github.io - Version: 20251212171354 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-07 - Source: https://github.com/samoyedsun/samoyedsun.github.io - Web: https://mule.run/skillshub/@@samoyedsun/samoyedsun.github.io~unknown:20251212171354 --- - 开发命令: ```shell sudo apt install ruby-dev -y sudo gem install jekyll bundler if ["you don‘t have one"]; then jekyll new blog cd blog fi bundle install bundle exec jekyll build bundle exec jekyll server ``` - ssh代理github ```shell # cat $HOME/.ssh/config ServerAliveInterval 1 Host github.com HostName github.com IdentityFile ~/.ssh/id_rsa User git Port 22 ProxyCommand nc -v -x 127.0.0.1:1086 %h %p ``` - git使用socket5代理 ``` cat ~/.gitconfig # 设置ss git config --global http.proxy 'socks5://127.0.0.1:1080' git config --global https.proxy 'socks5://127.0.0.1:1080' # 设置代理 git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http://127.0.0.1:1080 # 取消代理 git config --global --unset http.proxy git config --global --unset https.proxy ```