Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Remove command to remove patterns that were added #125

Open
Craigspaz opened this issue May 31, 2019 · 8 comments
Open

Add Remove command to remove patterns that were added #125

Craigspaz opened this issue May 31, 2019 · 8 comments

Comments

@Craigspaz
Copy link

No description provided.

@amex-doug
Copy link

How do i remove this? It's messing up all my commands like gc --amend

@Craigspaz
Copy link
Author

@amex-doug In order to remove git-secrets you just need to undo the operations the install scripts perform. If you installed via Makefile you just need to remove the man page and git-secrets script file. The man page is put in with the other man pages and the git-secrets script is put in your /usr/local/bin directory. On Windows you will need to remove it from the .git-secrets directory in your user profile along with your system path variable.

There is also another issue that is similar #95

@stephan-nordnes-eriksen
Copy link

Just a quick note; The patterns are stored in the .git/config -file under the [secrets] tag, in case anyone else, like me, get thrown off by adding a wrong pattern.

@mackenziegrimes
Copy link

Pull Request #126 solves this, just would need that merged.

And/or add a note in the README that you can modify patterns by editing this file.

Just a quick note; The patterns are stored in the .git/config -file under the [secrets] tag, in case anyone else, like me, get thrown off by adding a wrong pattern.

@eweitz
Copy link

eweitz commented Jul 31, 2020

I ended up having to use git config --global --edit to fix a wrong pattern I added.

@CubeOfCheese
Copy link

Oh wow so is this whole tool basically just an interface for .git/config secrets?

@arvindpdmn
Copy link

Oh wow so is this whole tool basically just an interface for .git/config secrets?

I doubt this is the case. I just added some patterns to .git/config without using this tool. Secrets are not checked. So this tool is doing something more.

@sparr
Copy link
Contributor

sparr commented Jun 16, 2023

The entries in git config secrets are the configuration for this tool. This tool can write and read them, and also then uses them to do all of the secrets checking functionality that is the core of the tool.

I have provided a review comment on #126.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants