awslabs / awslabs/git-secrets

git 'secrets' is not a git command

Open
#152 11 comments 3 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
13.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

I know this issue has been reported and answered and is covered in the readme but by default a running _make install_, at least on a stock Amazon Linux 2 AMI instance, after pulling this repo down installs git-secrets.1 into /usr/local/share/man/man1/. Adding that path to $PATH does not allow git to see _git secrets_ as a git command.

I went down a rabbit hole of looking into adding git-secrets as a submodule to git but didn't make it far with that either. I assume I am just missing something simple here because literally every site I read that talks about getting git-secrets running literally shows the exact same commands listed in the readme here.

Is Amazon Linux 2 not a supported OS for running this tool?

Contributor guide

Open the contributing guide

Research direction

Start with the README's installation instructions and the `make install` entry point, then reproduce the command-discovery failure on a stock Amazon Linux 2 AMI. Check whether the installed files make `git secrets` available; done means the command works after installation or the README clearly documents Amazon Linux 2 as unsupported.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.