USE CASE · GITHUB
Switching accounts should never mean pushing to the wrong repository.
ChatCode separates GitHub accounts from each project's remote origin and keeps new repositories Private by default.
Connect GitHub
Settings → GitHub Accounts → Connect GitHub account → confirm the Device Flow on GitHub.
Choose an account per project
Each project can use the default account or its own account.
Project has no repository yet
ChatCode can create a Private Repository and attach origin through an explicit user action.
Project already has origin
Switching accounts does not change origin automatically. If the new account lacks access, the push is rejected instead of ChatCode creating another repository.
Safety rule
Never auto-push/publish source. Never auto-change origin. New repositories are Private by default.
Dùng ChatCode với project shop. Show the current Git status and diff. Do not commit or push.After review, stage the changed files and create a local commit with an appropriate message. Do not push.