Use origin instead of protocol, host for git credentials

This commit is contained in:
Alex Gleason committed 2025-12-21 00:08:56 -06:00
1 parent 9c2f4f9eb6
commit fcc305788d
7 files changed
+34 -82

No files matched your search

+1 -2
View File
@@ -3,8 +3,7 @@ import { createContext } from 'react';
export interface GitCredential {
id: string; // UUID generated with crypto.randomUUID()
name: string; // Display name for the credential
protocol: string;
host: string; // Includes port if non-standard (e.g., "github.com:8080")
origin: string; // Full origin URL (e.g., "https://github.com")
username: string;
password: string;
}