Repository navigation
SETTINGS
This guide covers all configuration options available in GitHub Commander.
Access settings via:
- Main menu → Settings
- Keyboard shortcut:
Ctrl+, - Or click the Settings button in the main interface
Description: Your GitHub Personal Access Token for authentication.
How to Set:
- Generate token from GitHub.com
- Paste token into the field
- Click "Save"
Storage: Saved in ~/.github-commander/config.json
Security: Never share your token or commit it to repositories.
See: Authentication Guide for detailed token setup.
Description: Default folder for cloning repositories.
Default: ~/github-projects
How to Change:
- Enter new path or browse
- Click "Save"
Note: You can still specify a different location during clone operations.
Description: Default commit message used when no custom message is provided.
Default: "Update via GitHub Commander"
How to Change:
- Enter your preferred message
- Click "Save"
Tip: Use a meaningful default message for your workflow.
Description: Your Git user name for commit attribution.
Default: (Empty - uses system default)
How to Set:
- Enter your name
- Click "Save"
Example: "John Doe"
Description: Your Git email for commit attribution.
Default: (Empty - uses system default)
How to Set:
- Enter your email
- Click "Save"
Example: "john.doe@example.com"
Why Important: Git uses this to identify commit authors.
Description: Application color theme.
Options:
- Dark - Dark theme (default)
- Light - Light theme
How to Change:
- Select theme from dropdown
- Click "Save"
- Restart application for changes to take effect
Description: Interface font size in points.
Default: 10
Range: 8 - 24
How to Change:
- Enter desired size
- Click "Save"
- Restart application for changes to take effect
Description: Show files starting with . in file browsers.
Default: False (hidden)
How to Change:
- Check/uncheck the box
- Click "Save"
- Changes take effect immediately
Hidden Files Include:
.gitignore.env- Configuration files
- System files
Description: Default branch for GitHub Pages deployment.
Default: main
Options: main, master, gh-pages, or custom
How to Change:
- Enter branch name
- Click "Save"
Note: Can be overridden per deployment.
Description: Default custom domain for GitHub Pages.
Default: (Empty)
How to Set:
- Enter your domain (e.g.,
example.com) - Click "Save"
See: GitHub Pages Guide for domain setup.
Description: Default home page name for wikis.
Default: Home
How to Change:
- Enter page name
- Click "Save"
Note: This is a suggestion, not enforced.
Description: Default npm registry URL for package uploads.
Default: https://registry.npmjs.org
How to Change:
- Enter registry URL
- Click "Save"
Private Registries: Enter your organization's registry URL.
Description: Default PyPI repository URL for package uploads.
Default: https://pypi.org/simple
How to Change:
- Enter repository URL
- Click "Save"
Test PyPI: Use https://test.pypi.org/simple for testing.
Configuration is stored in:
~/.github-commander/config.json
The configuration file is JSON:
{
"github_token": "your-token-here",
"default_branch": "main",
"clone_directory": "/home/user/github-projects",
"auto_commit_message": "Update via GitHub Commander",
"git_config": {
"user.name": "Your Name",
"user.email": "your.email@example.com"
},
"ui": {
"theme": "dark",
"font_size": 10,
"show_hidden_files": false
},
"pages": {
"source_branch": "main",
"custom_domain": ""
},
"wiki": {
"default_home": "Home"
},
"packages": {
"npm_registry": "https://registry.npmjs.org",
"pypi_repository": "https://pypi.org/simple"
}
}You can edit the config file manually:
- Open
~/.github-commander/config.jsonin a text editor - Make your changes
- Save the file
- Restart GitHub Commander
Warning: Invalid JSON will cause errors. Validate your changes.
To reset all settings to defaults:
- Close GitHub Commander
- Delete the config file:
rm ~/.github-commander/config.json - Restart GitHub Commander
- Configure as needed
To backup your settings:
- Copy
~/.github-commander/config.json - Save to a safe location
To restore settings:
- Close GitHub Commander
- Copy your backup config to
~/.github-commander/config.json - Restart GitHub Commander
Causes:
- File permission issues
- Disk full
- Config file locked
Solutions:
- Check file permissions
- Ensure disk space available
- Close other instances of GitHub Commander
Symptoms:
- Application fails to start
- Settings not loading
Solutions:
- Validate JSON syntax
- Reset configuration to defaults
- Check for typos in config file
If config file is not in expected location:
- Check for environment variables
- Look in home directory
- Check application logs for actual path
- Never commit config file to repositories
- Use environment variables for sensitive data (advanced)
- Regularly rotate GitHub tokens
- Keep backup of configuration
- Export settings before major changes
- Keep config file in version control (with secrets removed)
- Document your preferred settings
- Use meaningful commit messages
- Document custom configurations
- Keep settings consistent across machines
After configuring settings, explore:
- Authentication - Set up your GitHub token
- Repository Management - Start using the application