Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git config not loading everything #2000

Open
medecau opened this issue Jan 12, 2025 · 0 comments
Open

git config not loading everything #2000

medecau opened this issue Jan 12, 2025 · 0 comments

Comments

@medecau
Copy link

medecau commented Jan 12, 2025

Version info

  • OS: macOS 15.2
  • Build: 2102

Description

Asks for user name and email when committing. git works as expected on the cli.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open repository
  2. Type message
  3. Click commit or press enter

Expected behavior

New commit in history with user name and email same as git commit -m 'some commit message'.

Debug Information

=== App Version Information ===
Build: 2102

=== Git Version Information ===
Using Git: git (system)
git version 2.47.1
environment variables loaded using: /bin/zsh -l

=== Git Config Information ===
alias.alias=config --includes --get-regexp ^alias
alias.amend=commit --amend --no-edit --date=now
alias.bugs=!gh issue list --label=bug
alias.cs=!gh codespace
alias.dev=!f() { git switch -c "dev/$1"; }; f
alias.develop=!gh issue develop
alias.fixup=commit --fixup
alias.gui=!smerge .
alias.hub=!gh
alias.issue=!gh issue
alias.issues=!gh issue list
alias.label=!gh label
alias.labels=!gh label list
alias.lol=log --oneline --decorate --color=always --reverse
alias.pop=stash pop
alias.pr=!gh pr
alias.prs=!gh pr list
alias.pushy=push --force-with-lease
alias.recent=branch --sort=-committerdate -v
alias.remove-merged-branches=!git branch --merged | egrep -v "(^\*|master|main)" | xargs -r git branch -d
alias.review=!gh pr checkout
alias.run=!gh run
alias.runs=!gh run list
alias.search=log --oneline --regexp-ignore-case --grep
alias.squash=rebase --interactive --autosquash
alias.update=fetch --all --tags --prune --prune-tags
alias.whoami=config --get user.email
alias.workflow=!gh workflow
alias.workflows=!gh workflow list
alias.yolo=pushy --no-verify
branch.autosetuprebase=always
branch.main.merge=refs/heads/main
branch.main.remote=origin
checkout.workers=0
commit.gpgsign=false
core.bare=false
core.compression=1
core.filemode=true
core.ignorecase=true
core.logallrefupdates=true
core.loosecompression=1
core.pager=cat
core.precomposeunicode=true
core.repositoryformatversion=0
credential.helper=osxkeychain
diff.algorithm=histogram
fetch.parallel=0
fetch.prune=true
fetch.prunetags=true
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
filter.lfs.smudge=git-lfs smudge -- %f
gpg.format=ssh
gpg.ssh.allowedsignersfile=~/.config/git/allowed_signers
gpg.ssh.program=/Applications/1Password.app/Contents/MacOS/op-ssh-sign
grep.threads=0
include.path=~/.config/git/config.hidden
includeif.hasconfig:remote.*.url:[email protected]:*/**.path=~/.config/git/config.github
includeif.hasconfig:remote.*.url:[email protected]:medecau/**.path=~/.config/git/config.mine
index.threads=0
init.defaultbranch=main
lfs.repositoryformatversion=0
log.date=iso
merge.conflictstyle=zdiff3
pack.compression=9
pack.threads=0
pull.rebase=true
push.autosetupremote=true
push.default=simple
push.negotiate=false
rebase.autosquash=true
rebase.autostash=true
rebase.updaterefs=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
[email protected]:medecau/dotfiles.git
rerere.autoupdate=true
rerere.enabled=true
status.branch=true
status.short=true
status.showstash=no
status.showuntrackedfiles=no
submodule.fetchjobs=0
user.email=[REDACTED]
user.name=[REDACTED]
user.signingkey=ssh-ed25519 [REDACTED]

=== Our Config Information ===
Git Config Path Information
Using config path: /etc/gitconfig
Using config path: /Users/pedro/.config/git/config
Using config path: /Users/pedro/.gitconfig
Using config path: /Users/pedro/.git/config

Our config output is different to the Git config output
alias.alias=config --includes --get-regexp ^alias
alias.amend=commit --amend --no-edit --date=now
alias.dev=!f() { git switch -c "dev/$1"; }; f
alias.fixup=commit --fixup
alias.gui=!smerge .
alias.lol=log --oneline --decorate --color=always --reverse
alias.pop=stash pop
alias.pushy=push --force-with-lease
alias.recent=branch --sort=-committerdate -v
alias.remove-merged-branches=!git branch --merged | egrep -v "(^\*|master|main)" | xargs -r git branch -d
alias.search=log --oneline --regexp-ignore-case --grep
alias.squash=rebase --interactive --autosquash
alias.update=fetch --all --tags --prune --prune-tags
alias.whoami=config --get user.email
alias.yolo=pushy --no-verify
branch.autosetuprebase=always
branch.main.merge=refs/heads/main
branch.main.remote=origin
checkout.workers=0
commit.gpgsign=false
core.bare=false
core.compression=1
core.filemode=true
core.ignorecase=true
core.logallrefupdates=true
core.loosecompression=1
core.pager=cat
core.precomposeunicode=true
core.repositoryformatversion=0
diff.algorithm=histogram
fetch.parallel=0
fetch.prune=true
fetch.prunetags=true
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
filter.lfs.smudge=git-lfs smudge -- %f
gpg.format=ssh
gpg.ssh.allowedsignersfile=~/.config/git/allowed_signers
gpg.ssh.program=/Applications/1Password.app/Contents/MacOS/op-ssh-sign
grep.threads=0
include.path=~/.config/git/config.hidden
includeif.hasconfig:remote.*.url:[email protected]:*/**.path=~/.config/git/config.github
includeif.hasconfig:remote.*.url:[email protected]:medecau/**.path=~/.config/git/config.mine
index.threads=0
init.defaultbranch=main
lfs.repositoryformatversion=0
log.date=iso
merge.conflictstyle=zdiff3
pack.compression=9
pack.threads=0
pull.rebase=true
push.autosetupremote=true
push.default=simple
push.negotiate=true
rebase.autosquash=true
rebase.autostash=true
rebase.updaterefs=true
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
[email protected]:medecau/dotfiles.git
rerere.autoupdate=true
rerere.enabled=true
status.branch=true
status.short=true
status.showstash=no
status.showuntrackedfiles=no
submodule.fetchjobs=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant