Local Repositories
Work with folders on your computer without GitHub
Overview
Local repositories let you work on projects stored on your computer without uploading to GitHub. Perfect for:
- Private projects you want to keep offline
- Quick experiments and prototypes
- Projects with sensitive data
- Working without an internet connection
Importing a Local Repository
Step by Step
- Click the Repository dropdown in the top bar
- Select Import Local Repository
- Click Choose Folder
- Select a folder from your computer
- TeamIDE scans the folder and shows:
- Whether it’s a Git repository
- Number of files
- Total size
- Click Import
What Happens During Import
- Files are copied into an isolated container
- Files matching
.gitignorepatterns are skipped - Original files on your computer are never modified
- A progress bar shows the import status
Finding Local Repositories
To see your local repositories:
- Click the Owner dropdown in the top bar
- Select Local
- The repository list shows only local repositories
Working with Local Repos
Everything Works the Same
Local repositories have all the same features as GitHub repos:
- Edit files in the editor
- Use the terminal
- Create, rename, delete files
- View file history (if it’s a Git repo)
- Make commits
- Create branches
Git Support
If your local folder is a Git repository:
- Changes tab shows modified files
- History tab shows commit history
- You can stage and commit changes
- All Git features work normally
If your folder is not a Git repo, you can initialize one:
git init
Local vs GitHub Repositories
| Feature | Local | GitHub |
|---|---|---|
| Works offline | Yes | No |
| Push/Pull | No | Yes |
| Collaboration | No | Yes |
| Automatic backup | No | Yes |
| GitHub Actions | No | Yes |
| Pull requests | No | Yes |
Publishing to GitHub
To publish a local repository to GitHub:
Create a new repository on GitHub.com
Open the terminal in TeamIDE
Add the remote:
git remote add origin https://github.com/username/repo.gitPush your code:
git branch -M main git push -u origin main
Your local repository is now on GitHub too.
Limitations
No Remote Sync
- Cannot push or pull (no remote configured)
- Manual backup required for important work
- No automatic sync between devices
Single User
- Only you can access the repository
- No built-in sharing mechanism
- To share, publish to GitHub first
Container Storage
- Files live in an isolated container
- If the container is deleted, data is lost
- Export important work regularly
Tips
- Initialize Git: Run
git initin new folders to enable version control - Regular commits: Commit often to maintain history, even without pushing
- Backup important work: Copy files out periodically or publish to GitHub
- Use for experiments: Great for trying things without cluttering GitHub
Browser Compatibility
Importing local folders works best in: - Google Chrome - Microsoft Edge - Other Chromium-based browsers
Firefox uses a fallback method that may have limitations.
Related
- Getting Started - First steps with TeamIDE
- Git Integration - Version control
- Authentication - Connecting GitHub
Changelog
| Date | Change |
|---|---|
| 2026-02-02 | Initial documentation |