I'm trying to commit the file using Sourcetree, but I'm having a hard time.
After downloading Sourcetree, I create a new file locally and try to commit the file with an error.
The error screen looks like the one below.
git: 'secrets' is not a git command. See 'git --help'.
I ran the following command from my home directory:
brew install git-secrets# command
To install 1.3.0, running `brew reinstall git-secrets# Display after command
If anyone knows the cause or solution, I would appreciate it if you could teach me.
mac version 10.15.6
SourceTree for Mac 4.0.2
If you deploy git-secret, you will need to add a variety of settings to SourceTree.
(Reference: Steps to make git-secret available in SourceTree (Macintosh))
For errors with these tools, searching the error message "git'secrets' is not a git command" may make the solution relatively easy to hit.Even if it's a little longer, it won't hurt you to remember how to search for error messages.
© 2024 OneMinuteCode. All rights reserved.