GitHub 運用マニュアル
人間用操作手順
通常のPush手順(手動)
cd C:\ai_work\quartz-site
git add .
git commit -m "更新内容を記述"
git push origin mainPATの更新手順(90日ごと)
- https://github.com/settings/tokens/new にアクセス
- Scopes:
repo+read:org+workflowを選択 - 「Generate token」でトークン取得
C:\ai_work\new_bot\.envのGITHUB_TOKENを更新- git remote URLも更新:
git remote set-url origin "https://Umebiz5726:[新トークン]@github.com/Umebiz5726/quartz-wiki.git"トラブルシューティング
| 症状 | 原因 | 対処 |
|---|---|---|
| 401 Authentication failed | PAT期限切れ | PATを再発行して更新 |
| push失敗(403) | リポジトリ権限なし | PATのスコープを確認 |