I can't commit with Sourcetree

Asked 2 years ago, Updated 2 years ago, 131 views

I'm trying to commit the file using Sourcetree, but I'm having a hard time.

Steps taken

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'.

This is the error screen

Tried

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.

environment

mac version 10.15.6
SourceTree for Mac 4.0.2

macos git sourcetree

2022-09-30 11:45

1 Answers

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.


2022-09-30 11:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.