Skip to content

Commit c820870

Browse files
authored
Ignores *.1 and *.7 files, closes #690 (#691)
* Ignores `*.1` and `*.7` files, closes #690 * Now adds `*.1` files to test them
1 parent 0bcce87 commit c820870

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Excluding from GitHub languages:
22
vendor/ linguist-vendored
33

4+
# Excluding from GitHub diff:
5+
*.1 linguist-generated
6+
*.7 linguist-generated
7+
48
# Excluding from `git diff`:
59
*.1 -diff
610
*.7 -diff

man/man1/git-secret-hide.1

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/man1/git-secret-hide.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ git-secret-hide - encrypts all added files with the inner keyring.
99
## DESCRIPTION
1010
`git-secret-hide` creates an encrypted version (typically called `filename.txt.secret`)
1111
of each file added by `git-secret-add` command.
12-
Now anyone enabled via 'git secret tell' can can decrypt these files. Under the hood,
12+
Now anyone enabled via `git secret tell` can can decrypt these files. Under the hood,
1313
`git-secret` uses the keyring in `.gitsecret/keys` and user's secret keys to decrypt the files.
1414

1515
It is recommended to encrypt (or re-encrypt) all the files in a `git-secret` repo each

man/man7/git-secret.7

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/man7/git-secret.7.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ These steps cover the basic process of using `git-secret`:
77

88
0. Before starting, [make sure you have created a `gpg` RSA key-pair](#using-gpg): a public and a secret key identified by your email address.
99

10-
1. Begin with an existing or new git repository. You'll use the 'git-secret' commands to add the keyrings and information
10+
1. Begin with an existing or new git repository. You'll use the `git-secret` commands to add the keyrings and information
1111
to make `git-secret` hide and reveal files in this repository.
1212

1313
2. Initialize the `git-secret` repository by running `git secret init` command. The `.gitsecret/` folder will be created.

0 commit comments

Comments
 (0)