You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jgstew I think the problem is that the name in the gitconfig file is arbitrary. Yours may match your GitHub username, but mine is Elliot Jordan.
In fact, I can't find any instance of my GitHub username in a predictable preference or config file on my Mac. I suspect GitHub uses the email address to refer to me, and GitHub's website/app does the translation from email to username.
I agree that using your local Mac shortname is better than your_name_here (a string that was chosen specifically because it didn't match any existing GitHub user, but who knows how long that will remain true).
The function defined here is used to define the user identifier for the autopkg recipes: https://github.com/homebysix/recipe-robot/blob/master/scripts/recipe-robot#L372
It defaults to: com.github.your_name_here
It would be interesting if it could default to: com.github.(configured git user)
Typically this is contained in the file:
~/.gitconfig
or~/.config/git/config
or/etc/gitconfig
The format is like an INI file, with sections, keys, values:
Or else, it would default to: com.github.( os.getusername() )
com.github.your_name_here could be a fall back value.
References:
The text was updated successfully, but these errors were encountered: