.\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . .TH "GIT\-SECRET\-ADD" "1" "April 2022" "sobolevn" "git-secret 0.5.0-alpha1" . .SH "NAME" \fBgit\-secret\-add\fR \- starts to track added files\. . .SH "SYNOPSIS" . .nf git secret add [\-v] [\-i] \.\.\. . .fi . .SH "DESCRIPTION" \fBgit secret add\fR \- tells \fBgit secret\fR which files hold secrets\. . .P Adds filepath(s) into \fB\.gitsecret/paths/mapping\.cfg\fR\. (It is not recommended to alter \fB\.gitsecret/paths/mapping\.cfg\fR manually\.) . .P As of 0\.2\.6, this command also ensures the filepath is in \fB\.gitignore\fR as the contents are now considered secret and should not be committed into the repository unencrypted\. . .P The \fBadd\fR action will fail unless there are already users in \fBgit\-secret\fR\'s keyring\. . .P (See git\-secret(7) \fIhttps://git\-secret\.io/git\-secret\fR for information about renaming the \.gitsecret folder using the SECRETS_DIR environment variable\. . .SH "OPTIONS" . .nf \-v \- verbose, shows extra information\. \-i \- does nothing, adding paths to \.gitignore is now the default behavior\. \-h \- shows this help\. . .fi . .SH "MANUAL" Run \fBman git\-secret\-add\fR to see this document\. . .SH "SEE ALSO" git\-secret\-init(1) \fIhttps://git\-secret\.io/git\-secret\-init\fR, git\-secret\-tell(1) \fIhttps://git\-secret\.io/git\-secret\-tell\fR, git\-secret\-hide(1) \fIhttps://git\-secret\.io/git\-secret\-hide\fR, git\-secret\-reveal(1) \fIhttps://git\-secret\.io/git\-secret\-reveal\fR