Repository navigation
WIKI_MANAGEMENT
This guide covers how to create, edit, and manage repository wikis using GitHub Commander.
GitHub wikis are separate git repositories that store documentation in Markdown format. Each repository can have its own wiki at:
https://github.com/owner/repo.wiki.git
GitHub Commander provides a full-featured wiki editor and batch upload capabilities.
The Wiki Panel has three tabs:
- Pages Tab - List and manage existing wiki pages
- Editor Tab - Create and edit individual pages
- Upload Tab - Batch upload multiple pages from a folder
- Select a repository
- Go to the Wiki Panel
- Click "Create New Page"
- The Editor tab will open
- Enter the page title
- Write your content in Markdown format
- Click "Save Page"
- Use descriptive, unique titles
- Spaces in titles are converted to hyphens in filenames
- Example: "Getting Started" becomes "Getting-Started.md"
The editor supports full Markdown syntax:
# Heading 1
## Heading 2
**Bold text**
*Italic text*
- List item 1
- List item 2
[Link text](url)
`inline code`
code block
- Enter a page title
- Write your content
- Click "Save Page"
- The page will be:
- Created as a Markdown file
- Committed to the wiki repository
- Pushed to GitHub
- Write your content
- Click "Preview" button
- A preview dialog shows rendered Markdown
- Make adjustments as needed
- Go to the Pages tab
- Click on a page in the table
- The Editor tab opens with the page content
- Make your changes
- Click "Save Page"
GitHub wikis maintain a full history of changes. To view history:
- Go to the wiki on GitHub.com
- Click "Page History"
- View and revert changes as needed
- Select a repository
- Go to the Wiki Panel
- Switch to the "Upload" tab
- Click "Browse..." to select a folder
- Select a folder containing Markdown files
- Click "Upload All Pages"
The upload supports:
-
.mdfiles -
.markdownfiles
The application will:
- Clone the wiki repository
- Copy all Markdown files from your folder
- Stage the files for commit
- Commit with message "Upload wiki pages"
- Push changes to GitHub
After upload, you'll see:
- Success/failure count
- Which pages uploaded successfully
- Any pages that failed to upload
- Go to the Pages tab
- Click "Refresh Pages"
- Pages are displayed in a table with:
- Page Name
- Last Updated
- Actions
To delete a wiki page:
- Go to the wiki on GitHub.com
- Navigate to the page
- Click "Edit"
- Delete all content
- Commit the change
Note: GitHub Commander doesn't currently support deleting wiki pages directly. Use the GitHub web interface.
To rename a wiki page:
- Go to the wiki on GitHub.com
- Navigate to the page
- Click "Edit"
- Copy the content
- Create a new page with the new name
- Paste the content
- Delete the old page
- Use a clear hierarchy with headings
- Create a "Home" or "Index" page as the main navigation
- Link between related pages
- Use consistent formatting
- Use descriptive titles
- Keep titles concise
- Avoid special characters
- Use title case for main pages
- Use
##for section headings (not#- that's the page title) - Use
###for subsections - Include code blocks with language specification
- Use tables for structured data
- Add images with descriptive alt text
Use relative links to connect wiki pages:
[Getting Started](Getting-Started)
[API Reference](API-Reference)The link text is the page name with spaces replaced by hyphens.
The first page you create (typically named "Home") becomes the wiki's home page. To change it:
- Go to the wiki on GitHub.com
- Click "Edit" on the desired home page
- Move it to the top of the page list
- Save
You can configure a default home page name in Settings:
- Go to Settings
- Find "Wiki Settings"
- Set "Default Home" to your preferred page name
- Click "Save"
Wiki access follows repository permissions:
- Public repositories - Anyone can view and edit
- Private repositories - Only collaborators can view and edit
- Organization repositories - Organization members with access
To restrict who can edit the wiki:
- Go to repository Settings on GitHub.com
- Navigate to "Collaborators & teams"
- Manage who has write access
Possible causes:
- Repository doesn't have wiki enabled
- Invalid Markdown file
- Authentication issues
- Network problems
Solutions:
- Enable wiki in repository settings
- Verify file is valid Markdown
- Check your authentication
- Ensure internet connection
The GitHub API doesn't directly support wiki page listing. To view pages:
- Use the GitHub web interface
- Or clone the wiki repository manually
Solutions:
- Ensure files have
.mdor.markdownextension - Check the selected folder path
- Verify files exist in the folder
After managing wikis, explore:
- GitHub Pages - Deploy documentation websites
- File Operations - Manage other repository files