GitHub Acceleration Best Practices, see at: GitHub 加速最佳实践.
Installation via git clone or download this repo.
- Git clone or download zip
- Execute
python github_hosts.py
, python 2.7+ required - Copy content of
github_hosts.txt
to local hosts file - Enjoy GitHub!
- Git clone or download zip
- su root
- Execute
bash linux/linux_start.sh
, this script will add a cron job tp refresh /etc/hosts every hour - Enjoy GitHub!
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT.