addGitCredential abstract method

Future<DashboardActionResult> addGitCredential(
  1. String nodeId, {
  2. required String host,
  3. String? pat,
  4. String? username,
  5. String? password,
})

Adds/overwrites the caller's own git credential for host on nodeId. Provide either pat (HTTPS token) or username+password.

Implementation

Future<DashboardActionResult> addGitCredential(
  String nodeId, {
  required String host,
  String? pat,
  String? username,
  String? password,
});