gxy-skill-git-remote
v0.2.4
Published
Git remote helper that pushes gxy skill snapshots to Google Drive through Apps Script.
Readme
gxy-skill-git-remote
Git remote helper for pushing gxy skill snapshots to Google Drive through the gxy skills Apps Script backend.
This is not a full Git server. It makes git push feel familiar, then uploads
the pushed commit's text-file snapshot to Drive.
Quick Start
# 1. 安裝
npm install -g gxy-skill-git-remote
# 2. 登入 Google 帳號(會開啟瀏覽器授權)
npx clasp login
# 3. 在你的專案裡新增 remote
cd your-skill-project
git remote add skills gxy-skill://1cJCTtBFmAb2Xl3A6KfQh2WxpmU1V5zQZ/<skill-name>
# 4. 推送
git push skills main<skill-name> 替換為你的技能名稱(例如 GXY-form-creator)。
Advanced
When the skill lives in a subdirectory:
git remote add skills 'gxy-skill://1cJCTtBFmAb2Xl3A6KfQh2WxpmU1V5zQZ/<skill-name>?path=skills/<skill-name>'Override the Web App deployment when needed:
git remote add skills 'gxy-skill://<drive-folder-id>/<skill-name>?deployId=<deployment-id>'Notes
git pushuploads the committed tree, not uncommitted working-copy changes.- The Drive folder is replaced with the pushed snapshot.
- Binary files are rejected.
gxy-drive://URLs are still supported for backward compatibility.- Authentication uses your
clasp logintoken (~/.clasprc.json).
