Automation/GitHub/Tool
github-push-via-api
by tianyao2003·Last observed 2026-10-26
★ 1 stars⑂ 0 forks
github-push-via-api is a script for uploading existing local Git commit history through the GitHub Git Data API when `git push` cannot reach `github.com:443` but `api.github.com` remains accessible. It provides a `--dry-run` option to inspect the planned push.
Useful for
- Use it in a restricted network where Git transport is blocked but the GitHub API is accessible.
Requirements & limitations
- Requires Node.js 18+ and Git; the remote repository must already exist.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.