GitHub Acceleration Best Practices, see at: GitHub 加速最佳实践.
Installation via git clone or download this repo.
pip install dnspython=2.0.0rc1
- Git clone or download zip
- Execute
python github_hosts.py
, python 3.6+ required - Copy content of
github_hosts.txt
to local hosts file - Enjoy GitHub!
- Git clone or download zip
- su root
- Execute
sudo bash linux/linux_run.sh
to write the github hosts to the /etc/hosts - 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.