Hi, @luke . After reading through this thread and changing the git-config in the helper folder, I was able to get the credential keychain working, but everytime I use a git command I see this error twice.
git: 'credential-netlify' is not a git command. See 'git --help'.
Here is what I hope will be helpful terminal output from various commands based on this thread:
jack@Jacks-MBP mhm-assets % netlify lm:install
β Checking Git version [2.33.1]
β Checking Git LFS version [3.0.2]
β Checking Git LFS filters
β Installing Netlify's Git Credential Helper for Mac OS X
β Configuring Git to use Netlify's Git Credential Helper
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β Run this command to use Netlify Large Media in your current shell β
β β
β source /Users/jack/Library/Preferences/netlify/helper/path.zsh.inc β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
jack@Jacks-MBP mhm-assets % netlify lm:info
β Checking Git version [2.33.1]
β Checking Git LFS version [3.0.2]
β Checking Git LFS filters
β Checking Netlify's Git Credentials version
β Check that Netlify's Git Credential helper is installed and updated to the
β¦
jack@Jacks-MBP mhm-assets % git config -l
credential.helper=osxkeychain
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
filter.lfs.clean=git-lfs clean -- %f
user.name=JackBDart
user.email=spamme385@gmail.com
include.path=/Users/jack/Library/Preferences/netlify/helper/git-config
credential.helper=
credential.helper=netlify
credential.helper=osxkeychain
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.ignorecase=true
core.precomposeunicode=true
remote.origin.url=https://github.com/JackBDart/mhm-assets.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.main.remote=origin
branch.main.merge=refs/heads/main
lfs.repositoryformatversion=0
lfs.https://f17f2ca8-18da-4722-b1c3-1704d998c893.netlify.app/.netlify/large-media.access=basic
jack@Jacks-MBP mhm-assets % git push origin main
git: 'credential-netlify' is not a git command. See 'git --help'.
git: 'credential-netlify' is not a git command. See 'git --help'.
Everything up-to-date
Hi, @JackB. I believe the issue in this case is that this step is being skipped:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
β Run this command to use Netlify Large Media in your current shell β
β β
β source /Users/jack/Library/Preferences/netlify/helper/path.zsh.inc β
β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Because that command isnβt being run, the current shell doesnβt know about the Git credential helper. Would you please test running that command and let us know if it resolves the issue or not?
Note, that line should also be added automatically by the netlify lm:install command to the file .zshrc in your home directory as well. I recommend double checking that as well to confirm it is happening.
If you still see the error, weβll be here to keep troubleshooting.