Closed sergiodj closed 6 months ago
Huh, I noticed that I didn't have an explicit entry like this on my ~/.gitconfig
:
[gitlab]
user = myuser
After adding it, things started working. Now I'm wondering if it this would work if I had different usernames on gitlab.com and salsa.debian.org...
I get the
Git variable
gitlab.user is unset`:
Are you positive it said Also please gitlab.user
and not github.nil.user
?M-x toggle-debug-on-error
and post the backtrace. I understand the issue in principal, but some details elude me.
Edit: Nevermind, figured out why that is.
Thank you for the very quick fix. I haven't tried it yet, but will let you know if I see the problem again.
I have a salsa.debian.org gitlab repository configured locally, and my global
~/.gitignore
has:My
~/.authinfo
also has the correct credentials.I'm able to use forge without problems for regular issue/MR handling, but when I specifically call
forge-list-assigned-issues
, I get theGit variable
gitlab.user' is unset. Set to:` prompt, even though my salsa username is set and recognized by other commands just fine.This also impacts adding
#'forge-insert-assigned-issues
tomagit-status-sections-hook
.