mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
create_posts script fix
This commit is contained in:
parent
de752c6fd2
commit
7c9ae0b185
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-add'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-add - starts to track added files.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-changes'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-changes - view diff of the hidden files.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-clean'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-clean - removes all the hidden files.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-hide'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-hide - encrypts all added files with the inner keyring.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-init'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-init - initializes git-secret repository.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-killperson'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-killperson - deletes key identified by an email from the inner keyring.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-list'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-list - prints all the added files.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-remove'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-remove - removes files from index.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-reveal'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-reveal - decrypts all added files.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-tell'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-tell - adds a person, who can access private data.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-usage'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-usage - prints all the available commands.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret-whoknows'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: command
|
||||
---
|
||||
git-secret-whoknows - prints email-labels for each key in the keyring.
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: post
|
||||
title: 'git-secret'
|
||||
date: 2016-07-10 14:51:07 +0300
|
||||
date: 2016-07-10 14:53:27 +0300
|
||||
categories: usage
|
||||
---
|
||||
## Content
|
||||
@ -31,14 +31,14 @@ There's a known problem in server configuration and deploying, when you have to
|
||||
|
||||
### Dependencies
|
||||
|
||||
`git secret` relies on two dependecies: [`git`][1] and [`gpg`][2]. Download and install them before using this project. `git-secret` is tested to work with:
|
||||
`git-secret` relies on two dependencies: [`git`][1] and [`gpg`][2]. Download and install them before using this project. `git-secret` is tested to work with:
|
||||
|
||||
git version 2.7.0
|
||||
gpg (GnuPG) 1.4.20
|
||||
|
||||
### Supported platforms
|
||||
|
||||
`git secret` works with `Mac OS X` >= 10.9, `Ubuntu` >= 14.04 and `Debian` >= 8.3
|
||||
`git-secret` works with `Mac OS X` >= 10.9, `Ubuntu` >= 14.04 and `Debian` >= 8.3
|
||||
You can add your platform to this list, if all the tests pass for you.
|
||||
`Cygwin` support is planned.
|
||||
|
||||
@ -46,42 +46,42 @@ You can add your platform to this list, if all the tests pass for you.
|
||||
|
||||
There are several ways to install `git-secret`:
|
||||
|
||||
**Brew**
|
||||
**** Homebrew ****
|
||||
|
||||
1. Run `brew install git-secret`. That will do. Also, there are two options:
|
||||
* `--without-gpg` to build without `gpg` support
|
||||
* `--HEAD` to install `HEAD` version
|
||||
2. Note, that we have migrated from `tap` to the official `brew` repo
|
||||
|
||||
**Manual**
|
||||
**** `deb` package ****
|
||||
|
||||
1. Clone the repository first: `git clone https://github.com/sobolevn/git-secret.git git-secret`
|
||||
2. Run `PREFIX="/usr/local" make install`, note that you can install to any prefix in your `PATH`
|
||||
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`
|
||||
|
||||
**`antigen` plugin (or any other `oh-my-zsh`-styled plugin-systems)**
|
||||
**** `rpm` package ****
|
||||
|
||||
1. Add line `antigen bundle sobolevn/git-secret` to your `.zshrc`
|
||||
2. Run `source ~/.zshrc` or reopen the terminal
|
||||
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`
|
||||
|
||||
**The hard way**
|
||||
**** Manual ****
|
||||
|
||||
1. Clone the repository first: `git clone https://github.com/sobolevn/git-secret.git git-secret`
|
||||
2. Run `cd git-secret && make build`
|
||||
3. Move `git-secret` file and `man/` folder somewhere inside your `$PATH`, or extend your `$PATH` to contain `git-secret` file and `man/` folder
|
||||
3. Run `PREFIX="/usr/local" make install`, note that you can install to any prefix in your `PATH`
|
||||
|
||||
**Local `.deb` package**
|
||||
**** `antigen` plugin (or any other `oh-my-zsh`-styled plugin-systems) ****
|
||||
|
||||
1. Add line `antigen bundle sobolevn/git-secret` to your `~/.zshrc`
|
||||
2. Run `source ~/.zshrc` or reopen the terminal
|
||||
|
||||
1. Download the latest realease [here](https://github.com/sobolevn/git-secret/releases)
|
||||
2. Unpack, and run `make build-deb`, it is possible to set the output folder with `$SCRIPT_BUILD_DIR` variable.
|
||||
3. Install the local `.deb` package with `dpkp -i git-secret-package-name.deb`, note that this command may require `sudo` and the package name will be different
|
||||
|
||||
## Usage
|
||||
These steps cover the basic process of using `git-secret`:
|
||||
|
||||
0. Before starting, make sure you have created `gpg` RSA key-pair: public and secret key identified by your email address.
|
||||
1. Initialize `git-secret` repository by running `git secret init` command. `.gitsecret/` folder will be created.
|
||||
2. Add first user to the system by running `git secret tell your@gpg.email-id`.
|
||||
3. Now it's time to add files you wish to encrypt inside the `git-secret` repository. It can be done by running `git secret add <filenames...>` command. Make sure these files are ignored, otherwise `git secret` won't allow you to add them, as these files will be stored unencrypted.
|
||||
1. Initialize `git-secret` repository by running `git secret init` command. `.gitsecret/` folder will be created, **note** that `.gitsecret/` folder [should **not** be ignored](https://github.com/sobolevn/git-secret/issues/39).
|
||||
2. Add first user to the system by running `git secret tell your@gpg.email`.
|
||||
3. Now it's time to add files you wish to encrypt inside the `git-secret` repository. It can be done by running `git secret add <filenames...>` command. Make sure these files are ignored, otherwise `git-secret` won't allow you to add them, as these files will be stored unencrypted.
|
||||
4. When done, run `git secret hide` all files, which you have added by `git secret add` command will be encrypted with added public-keys by the `git secret tell` command. Now it is safe to commit your changes. **But**. It's recommended to add `git secret hide` command to your `pre-commit` hook, so you won't miss any changes.
|
||||
5. Now decrypt files with `git secret reveal` command. It will ask you for your password. And you're done!
|
||||
|
||||
|
@ -8,8 +8,8 @@ POSTS_LOCATION="_posts"
|
||||
|
||||
|
||||
function checkout_manuals {
|
||||
git checkout master "$MAN_LOCATION"
|
||||
git checkout master "$MAN7_LOCATION"
|
||||
git checkout staging "$MAN_LOCATION"
|
||||
git checkout staging "$MAN7_LOCATION"
|
||||
|
||||
# rm -f $MAN_LOCATION/*.1
|
||||
}
|
||||
|
Binary file not shown.
@ -25,14 +25,14 @@ There's a known problem in server configuration and deploying, when you have to
|
||||
|
||||
### Dependencies
|
||||
|
||||
`git secret` relies on two dependecies: [`git`][1] and [`gpg`][2]. Download and install them before using this project. `git-secret` is tested to work with:
|
||||
`git-secret` relies on two dependencies: [`git`][1] and [`gpg`][2]. Download and install them before using this project. `git-secret` is tested to work with:
|
||||
|
||||
git version 2.7.0
|
||||
gpg (GnuPG) 1.4.20
|
||||
|
||||
### Supported platforms
|
||||
|
||||
`git secret` works with `Mac OS X` >= 10.9, `Ubuntu` >= 14.04 and `Debian` >= 8.3
|
||||
`git-secret` works with `Mac OS X` >= 10.9, `Ubuntu` >= 14.04 and `Debian` >= 8.3
|
||||
You can add your platform to this list, if all the tests pass for you.
|
||||
`Cygwin` support is planned.
|
||||
|
||||
@ -40,42 +40,42 @@ You can add your platform to this list, if all the tests pass for you.
|
||||
|
||||
There are several ways to install `git-secret`:
|
||||
|
||||
**Brew**
|
||||
**** Homebrew ****
|
||||
|
||||
1. Run `brew install git-secret`. That will do. Also, there are two options:
|
||||
* `--without-gpg` to build without `gpg` support
|
||||
* `--HEAD` to install `HEAD` version
|
||||
2. Note, that we have migrated from `tap` to the official `brew` repo
|
||||
|
||||
**Manual**
|
||||
**** `deb` package ****
|
||||
|
||||
1. Clone the repository first: `git clone https://github.com/sobolevn/git-secret.git git-secret`
|
||||
2. Run `PREFIX="/usr/local" make install`, note that you can install to any prefix in your `PATH`
|
||||
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`
|
||||
|
||||
**`antigen` plugin (or any other `oh-my-zsh`-styled plugin-systems)**
|
||||
**** `rpm` package ****
|
||||
|
||||
1. Add line `antigen bundle sobolevn/git-secret` to your `.zshrc`
|
||||
2. Run `source ~/.zshrc` or reopen the terminal
|
||||
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`
|
||||
|
||||
**The hard way**
|
||||
**** Manual ****
|
||||
|
||||
1. Clone the repository first: `git clone https://github.com/sobolevn/git-secret.git git-secret`
|
||||
2. Run `cd git-secret && make build`
|
||||
3. Move `git-secret` file and `man/` folder somewhere inside your `$PATH`, or extend your `$PATH` to contain `git-secret` file and `man/` folder
|
||||
3. Run `PREFIX="/usr/local" make install`, note that you can install to any prefix in your `PATH`
|
||||
|
||||
**Local `.deb` package**
|
||||
**** `antigen` plugin (or any other `oh-my-zsh`-styled plugin-systems) ****
|
||||
|
||||
1. Add line `antigen bundle sobolevn/git-secret` to your `~/.zshrc`
|
||||
2. Run `source ~/.zshrc` or reopen the terminal
|
||||
|
||||
1. Download the latest realease [here](https://github.com/sobolevn/git-secret/releases)
|
||||
2. Unpack, and run `make build-deb`, it is possible to set the output folder with `$SCRIPT_BUILD_DIR` variable.
|
||||
3. Install the local `.deb` package with `dpkp -i git-secret-package-name.deb`, note that this command may require `sudo` and the package name will be different
|
||||
|
||||
## Usage
|
||||
These steps cover the basic process of using `git-secret`:
|
||||
|
||||
0. Before starting, make sure you have created `gpg` RSA key-pair: public and secret key identified by your email address.
|
||||
1. Initialize `git-secret` repository by running `git secret init` command. `.gitsecret/` folder will be created.
|
||||
2. Add first user to the system by running `git secret tell your@gpg.email-id`.
|
||||
3. Now it's time to add files you wish to encrypt inside the `git-secret` repository. It can be done by running `git secret add <filenames...>` command. Make sure these files are ignored, otherwise `git secret` won't allow you to add them, as these files will be stored unencrypted.
|
||||
1. Initialize `git-secret` repository by running `git secret init` command. `.gitsecret/` folder will be created, **note** that `.gitsecret/` folder [should **not** be ignored](https://github.com/sobolevn/git-secret/issues/39).
|
||||
2. Add first user to the system by running `git secret tell your@gpg.email`.
|
||||
3. Now it's time to add files you wish to encrypt inside the `git-secret` repository. It can be done by running `git secret add <filenames...>` command. Make sure these files are ignored, otherwise `git-secret` won't allow you to add them, as these files will be stored unencrypted.
|
||||
4. When done, run `git secret hide` all files, which you have added by `git secret add` command will be encrypted with added public-keys by the `git secret tell` command. Now it is safe to commit your changes. **But**. It's recommended to add `git secret hide` command to your `pre-commit` hook, so you won't miss any changes.
|
||||
5. Now decrypt files with `git secret reveal` command. It will ask you for your password. And you're done!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user