|
|
@ -40,30 +40,30 @@ You can add your platform to this list, if all the tests pass for you.
|
|
|
|
|
|
|
|
|
|
|
|
There are several ways to install `git-secret`:
|
|
|
|
There are several ways to install `git-secret`:
|
|
|
|
|
|
|
|
|
|
|
|
#### Homebrew
|
|
|
|
**** Homebrew ****
|
|
|
|
|
|
|
|
|
|
|
|
1. Run `brew install git-secret`. That will do. Also, there are two options:
|
|
|
|
1. Run `brew install git-secret`. That will do. Also, there are two options:
|
|
|
|
* `--without-gpg` to build without `gpg` support
|
|
|
|
* `--without-gpg` to build without `gpg` support
|
|
|
|
* `--HEAD` to install `HEAD` version
|
|
|
|
* `--HEAD` to install `HEAD` version
|
|
|
|
2. Note, that we have migrated from `tap` to the official `brew` repo
|
|
|
|
2. Note, that we have migrated from `tap` to the official `brew` repo
|
|
|
|
|
|
|
|
|
|
|
|
#### `deb` package
|
|
|
|
**** `deb` package ****
|
|
|
|
|
|
|
|
|
|
|
|
1. Run `echo "deb https://dl.bintray.com/sobolevn/deb git-secret stable" | sudo tee -a /etc/apt/sources.list`
|
|
|
|
1. Run `echo "deb https://dl.bintray.com/sobolevn/deb git-secret stable" | sudo tee -a /etc/apt/sources.list`
|
|
|
|
2. Run `sudo apt-get install git-secret`
|
|
|
|
2. Run `sudo apt-get install git-secret`
|
|
|
|
|
|
|
|
|
|
|
|
#### `rpm` package
|
|
|
|
**** `rpm` package ****
|
|
|
|
|
|
|
|
|
|
|
|
1. Run `wget https://bintray.com/sobolevn/rpm/rpm -O bintray-sobolevn-rpm.repo && sudo mv bintray-sobolevn-rpm.repo /etc/yum.repos.d/`
|
|
|
|
1. Run `wget https://bintray.com/sobolevn/rpm/rpm -O bintray-sobolevn-rpm.repo && sudo mv bintray-sobolevn-rpm.repo /etc/yum.repos.d/`
|
|
|
|
2. Run `sudo yum install git-secret`
|
|
|
|
2. Run `sudo yum install git-secret`
|
|
|
|
|
|
|
|
|
|
|
|
#### Manual
|
|
|
|
**** Manual ****
|
|
|
|
|
|
|
|
|
|
|
|
1. Clone the repository first: `git clone https://github.com/sobolevn/git-secret.git git-secret`
|
|
|
|
1. Clone the repository first: `git clone https://github.com/sobolevn/git-secret.git git-secret`
|
|
|
|
2. Run `cd git-secret && make build`
|
|
|
|
2. Run `cd git-secret && make build`
|
|
|
|
3. Run `PREFIX="/usr/local" make install`, note that you can install to any prefix in your `PATH`
|
|
|
|
3. Run `PREFIX="/usr/local" make install`, note that you can install to any prefix in your `PATH`
|
|
|
|
|
|
|
|
|
|
|
|
#### `antigen` plugin (or any other `oh-my-zsh`-styled plugin-systems)
|
|
|
|
**** `antigen` plugin (or any other `oh-my-zsh`-styled plugin-systems) ****
|
|
|
|
|
|
|
|
|
|
|
|
1. Add line `antigen bundle sobolevn/git-secret` to your `~/.zshrc`
|
|
|
|
1. Add line `antigen bundle sobolevn/git-secret` to your `~/.zshrc`
|
|
|
|
2. Run `source ~/.zshrc` or reopen the terminal
|
|
|
|
2. Run `source ~/.zshrc` or reopen the terminal
|
|
|
|