Git configuration fails

Problem:

  • Repository, branch, and credentials are all verified as correct.

  • Repository is Github Enterprise (on premise) and authenticating via Active Directory

  • Using AD username and password in Git authKey

  • All git operations fail

Solution:

Switch to using an access token instead of password

The following is an example of creating an access token in Github Enterprise Server 3.1

Enter a Note, then assign the permissions you will need to use and click “Generate token”

Copy your token into the Password field of your Git authKey