Common Issues
Quick reference for common Git sync problems:Authentication Failed
Authentication Failed
Push Rejected
Push Rejected
Symptoms:In Auk:
- “Updates were rejected”
- “Failed to push some refs”
- “Non-fast-forward”
- Click “Sync Now” to pull changes
- Resolve any conflicts
- Sync again to push
Merge Conflicts
Merge Conflicts
Symptoms:
- “Automatic merge failed”
- “CONFLICT (content)”
- Sync paused with conflict warning
- Open conflict resolution UI
- Choose resolution strategy
- Resolve conflicts
- Complete sync
Repository Not Found
Repository Not Found
Symptoms:
- “Repository not found”
- “Could not resolve host”
- 404 error
- Verify repository URL is correct
- Check you have access to repository
- Ensure repository exists
- Try cloning manually to test:
Network Timeout
Network Timeout
Symptoms:
- “Connection timed out”
- “Failed to connect”
- Sync hangs indefinitely
- Check internet connection
- Verify firewall isn’t blocking Git
- Try different network
- Increase timeout in settings:
Detached HEAD State
Detached HEAD State
Symptoms:
- “You are in ‘detached HEAD’ state”
- Commits not appearing on branch
Large File Issues
Large File Issues
Symptoms:
- “File too large”
- Push fails with size error
- Slow sync performance
- Remove large files from Git:
- Use Git LFS for large files:
- Split large collections into smaller files
Sync Stuck
Sync Stuck
Symptoms:
- Sync shows “In progress” indefinitely
- Cannot cancel sync
- Auk becomes unresponsive
- Wait 5 minutes for timeout
- Force quit Auk if needed
- Restart Auk
- Check workspace Git status:
- Reset if needed:
Diagnostic Commands
Check Git Status
Test Connectivity
View Sync Logs
- macOS
- Windows
- Linux
Recovery Procedures
Reset to Remote State
If local state is corrupted, reset to remote:Recover Lost Commits
If commits are lost:Fix Corrupted Repository
If Git repository is corrupted:Performance Issues
Slow Sync
If sync is slow:High CPU Usage
If Git sync uses too much CPU:Platform-Specific Issues
macOS
Keychain Access Denied
Keychain Access Denied
Symptoms: Repeated password promptsSolution:
Xcode Command Line Tools
Xcode Command Line Tools
Symptoms: Git not found or outdatedSolution:
Windows
Line Ending Issues
Line Ending Issues
Symptoms: Files show as modified but no changesSolution:
Path Too Long
Path Too Long
Symptoms: “Filename too long” errorSolution:
Linux
Permission Denied
Permission Denied
Symptoms: Cannot write to workspace directorySolution:
SSH Agent Not Running
SSH Agent Not Running
Symptoms: SSH key not foundSolution:
Error Messages
Common Error Messages and Solutions
| Error Message | Cause | Solution |
|---|---|---|
fatal: not a git repository | Git not initialized | Initialize Git in workspace settings |
error: failed to push some refs | Remote has newer commits | Pull before pushing |
fatal: refusing to merge unrelated histories | Repositories have different histories | Use --allow-unrelated-histories flag |
error: Your local changes would be overwritten | Uncommitted changes conflict | Commit or stash changes first |
fatal: unable to access | Network or auth issue | Check network and credentials |
error: RPC failed; HTTP 413 | Push too large | Split into smaller commits |
Getting Help
Enable Debug Logging
Collect Diagnostic Information
When reporting issues, include:-
Auk Version
- Help → About Auk
-
Git Version
-
Operating System
- macOS: System Preferences → About
- Windows: Settings → System → About
- Linux:
uname -a
-
Error Logs
- Copy from Auk logs directory
-
Git Status
Contact Support
- GitHub Issues: github.com/mamahuhu-io/auk/issues
- Documentation: auk.mamahuhu.dev
- Community: Join our Discord/Slack
Prevention Tips
Regular Backups
Regular Backups
Backup workspaces regularly:
Test Before Production
Test Before Production
Test Git sync with a test workspace first:
- Create test workspace
- Configure Git sync
- Test sync operations
- Verify everything works
- Apply to production workspaces
Monitor Sync Status
Monitor Sync Status
Regularly check sync status:
- Review sync history
- Check for errors in logs
- Verify remote repository is updated
Keep Git Updated
Keep Git Updated
Use latest Git version:
Next Steps
Git Sync Setup
Set up Git synchronization
Conflict Resolution
Learn conflict resolution
Best Practices
Git collaboration best practices
Support
Get additional help