user group handles authentication. Tokens are stored securely in your OS keychain.
| Command | Purpose |
|---|---|
major user login | Log in and select an organization. |
major user logout | Log out and remove credentials. |
major user whoami | Show current user and organization. |
major user gitconfig | Set your GitHub username. |
major user login
- Opens the login page in your browser.
- Securely stores your session token.
- Prompts you to select your default organization.
You can re-run
login anytime to refresh your token or switch organizations.major user logout
- Revokes your session.
- Removes your stored credentials.
major user whoami
major user gitconfig
- Shows your currently stored username (if any).
- Prompts you to enter or update your GitHub username.
- Saves the username so Major can automatically invite you to new repositories.