feat: Add Git Credential Manager support for persistent cross-workspace credentials - #1
Merged
Merged
Conversation
…ce credentials - Replace VS Code secret storage with Git Credential Manager - Credentials now persist across all workspaces and editor installations - Per-repository credential isolation prevents conflicts with multiple accounts - Auto-configure credential helper based on platform (osxkeychain/manager/libsecret/store) - Fallback to ~/.git-credentials file for compatibility Closes #X (if applicable)
…ce credentials - Replace VS Code secret storage with Git Credential Manager - Credentials now persist across all workspaces and editor installations - Per-repository credential isolation prevents conflicts with multiple accounts - Auto-configure credential helper based on platform (osxkeychain/manager/libsecret/store) - Fallback to ~/.git-credentials file for compatibility Closes #X (if applicable)
Owner
|
hello @kabuto-png there are some conflicts, please help me resolve it, your idea is good |
Resolved conflicts in src/services/GitService.ts by integrating logger functionality from main branch. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
Author
|
hi @mrd9999 , I've resolved the merge conflicts. The changes are now ready for review and can be cleanly merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces VS Code secret storage with Git Credential Manager for credential persistence across all workspaces.
Problem
Previously, users had to re-enter credentials every time they opened a new workspace because VS Code's
context.secretsis local to each installation.Solution
git credential approve/fill/reject)~/.git-credentialsfile for compatibilityosxkeychainmanagerlibsecretorstoreChanges
src/services/ConfigService.ts- New credential storage implementationsrc/services/GitService.ts- Added credential helper methodssrc/extension.ts&src/ui/SidePanelProvider.ts- Updated save order (URL before credentials)Testing
credential.helper=store