Mount Git configuration
Mount your Git configuration into workspaces to set your Git identity and preferences.
Before you begin
- You have an active
ocsession with your project. See This page is not included, but the link has been rewritten to point to the nearest parent document.Getting started with the CLI.
About this task
Note:
The user.name and user.email fields are set automatically to the gitconfig content from a git provider that is connected to OpenShift Dev Spaces. This connection requires a This content is not included.Git-provider access token or a token generated via OAuth, and you must set the username and email on the provider’s user profile page.
Procedure
Results
- Open a terminal in your workspace.
- Verify the Git configuration:
$ git config --list