「git-secrets」をインストールする際にコマンドプロンプト
を使用すると以下のようなエラーが発生しました。
C:\Users\Test\Documents\Program\git\git-secrets>git secrets --register-aws --global git: 'secrets' is not a git command. See 'git --help'. C:\Users\Test\Documents\Program\git\workspace>git secrets --install git: 'secrets' is not a git command. See 'git --help'.
私はコマンドプロンプト
からWindows PowerShell
に変更したところ、インストールを成功させることができました。
その際の記録を以下の記事にまとめました。