Connect to a Git provider using basic authentication with the ServiceNow IDE
Connect to a Git domain or repository using basic authentication credentials to manage applications in source control from the ServiceNow IDE.
Vorbereitungen
- From your Git provider, generate a personal access token to use for basic authentication to the Git domain or repository. You must provide your Git user name and personal access token when configuring your credentials for the ServiceNow IDE.
- Create a dedicated Git repository for an application in a Git provider such as GitHub, GitLab, Bitbucket, or Azure Repos.
- To set up credentials for a repository rather than a Git domain, create a dedicated Git repository for the application in a Git provider such as GitHub, GitLab, or Bitbucket.
Role required: sn_glider.ide_git_user or admin
Prozedur
Ergebnisse
Your Git credentials are associated with your user on the instance and used for all repositories in the domain from the Git repository URL. If you add different credentials for a repository in the same domain, the new credentials are used and the previous credentials are set to inactive.
Nächste Maßnahme
After initializing or cloning a repository, you can begin using source control. For more information, see Using source control in the ServiceNow IDE.
To manage existing Git credentials, use the Git: Manage Git credentials command from the command palette.