I am running OSX 10.10.
I am trying to cache my GitHub password in Git. I am currently following the instructions provided @ https://help.github.com/articles/caching-your-github-password-in-git/. My OS X credential helper is already installed. I am running into an error installing the helper into the same directory where Git itself is installed.
Even though I have tried to use the locate command to locate my keychain, I am still receiving the "No such file or directory" error message. Here is what my terminal is returning:
$ locate git-credential-osxkeychain
/Applications/GitHub Desktop.app/Contents/Resources/git/bin/git-credential-osxkeychain
/Applications/Xcode.app/Contents/Developer/usr/libexec/git-core/git-credential-osxkeychain
/Library/Developer/CommandLineTools/usr/libexec/git-core/git-credential-osxkeychain
/usr/local/git/bin/git-credential-osxkeychain
$ sudo mv git-credential-osxkeychain \ "/usr/local/git/bin/git-credential-osxkeychain"
mv: rename git-credential-osxkeychain to /usr/local/git/bin/git-credential-osxkeychain: No such file or directory