update
│ Config search order: ./ghproxy.yaml -> ~/.config/ghproxy/config.yaml. Default config embedded in binary via │ │ //go:embed. │ │ │ │ CLI Commands │ │ │ │ ┌───────────────────────────────┬───────────────────────────────────────────┐ │ │ │ Command │ Description │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy speedtest │ Test all mirrors, auto-select fastest │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy on [–mirror=NAME] │ Enable git acceleration via url.insteadOf │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy off │ Disable git acceleration │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy status │ Show current acceleration status │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy serve [–listen=ADDR] │ Start local reverse proxy for curl/wget │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy config init │ Generate default config file │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy config show │ Print current config │ │ │ └───────────────────────────────┴───────────────────────────────────────────┘
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号 京公网安备 11010802032778号
│ Config search order: ./ghproxy.yaml -> ~/.config/ghproxy/config.yaml. Default config embedded in binary via │ │ //go:embed. │ │ │ │ CLI Commands │ │ │ │ ┌───────────────────────────────┬───────────────────────────────────────────┐ │ │ │ Command │ Description │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy speedtest │ Test all mirrors, auto-select fastest │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy on [–mirror=NAME] │ Enable git acceleration via url.insteadOf │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy off │ Disable git acceleration │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy status │ Show current acceleration status │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy serve [–listen=ADDR] │ Start local reverse proxy for curl/wget │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy config init │ Generate default config file │ │ │ ├───────────────────────────────┼───────────────────────────────────────────┤ │ │ │ ghproxy config show │ Print current config │ │ │ └───────────────────────────────┴───────────────────────────────────────────┘