GitLab commits show wrong user
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 9
- Joined: Wed Jan 24, 2024 4:36 pm
GitLab commits show wrong user
Post by oxygen-user »
Hi,
when I commit files through the Git Staging view, my local (PC) user name is shown as the author of the commit.
However, I would like to make sure the commits are linked to my GitLab user account.
How can I resolve that?
(I couldn't find anything in the Oxygen Author settings.)
When I commit through Visual Studio Code, my commits are made by my GitLab user account.
I use Oxygen Author's Git plugin with a GitLab access token and Visual Studio Code with user name/password.
Best wishes
when I commit files through the Git Staging view, my local (PC) user name is shown as the author of the commit.
However, I would like to make sure the commits are linked to my GitLab user account.
How can I resolve that?
(I couldn't find anything in the Oxygen Author settings.)
When I commit through Visual Studio Code, my commits are made by my GitLab user account.
I use Oxygen Author's Git plugin with a GitLab access token and Visual Studio Code with user name/password.
Best wishes
-
- Posts: 405
- Joined: Mon May 09, 2016 9:37 am
Re: GitLab commits show wrong user
Post by sorin_carbunaru »
Hi,
To set a repository-specific username/email configuration:
1. From the command line, go to the repository directory.
2. Set your username:
3. Set your email address:
4. Verify your configuration by displaying your configuration file:
If you want to have the same configuration for all your Git local repos, you can use the "--global" flag after "git config".
Regards,
Sorin Carbunaru
Oxygen XML Editor
To set a repository-specific username/email configuration:
1. From the command line, go to the repository directory.
2. Set your username:
Code: Select all
git config user.name "FIRST_NAME LAST_NAME"
Code: Select all
git config user.email "MY_NAME@example.com"
Code: Select all
cat .git/config
Regards,
Sorin Carbunaru
Oxygen XML Editor
-
- Posts: 9
- Joined: Wed Jan 24, 2024 4:36 pm
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service