Skip to content

Instantly share code, notes, and snippets.

View zhangshuo00's full-sized avatar
🎯
Focusing

zhangshuo zhangshuo00

🎯
Focusing
View GitHub Profile
@bitmingw
bitmingw / github_sync.py
Last active April 11, 2024 07:33
Auto update local repository with remote github repository.
#!/usr/bin/env python3
"""
Author: Ming Wen (bitmingw@gmail.com)
This script is used to track the changes in the github, and if a new commit
is found, update the local repository accordingly.
"""
from urllib.request import urlopen