Skip to content

fix: git-credential command by using oauth2 user

Description

Change username in git-credential command to oauth2. This fixes the linked issue and also means gitlab does not need to recommend a different tool anymore for git authentication via oauth (https://docs.gitlab.com/16.5/ee/user/profile/account/two_factor_authentication.html#git-credential-oauth).

Related Issues

Resolves #7414 (closed)

How has this been tested?

I am using this in my gitconfig for a few days now.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap
Edited by Ole Reifschneider

Merge request reports

Loading