1GIT-CREDENTIAL-STO(1)             Git Manual             GIT-CREDENTIAL-STO(1)
2
3
4

NAME

6       git-credential-store - Helper to store credentials on disk
7

SYNOPSIS

9       git config credential.helper 'store [options]'
10
11

DESCRIPTION

13           Note
14           Using this helper will store your passwords unencrypted on disk,
15           protected only by filesystem permissions. If this is not an
16           acceptable security tradeoff, try git-credential-cache(1), or find
17           a helper that integrates with secure storage provided by your
18           operating system.
19
20       This command stores credentials indefinitely on disk for use by future
21       Git programs.
22
23       You probably don’t want to invoke this command directly; it is meant to
24       be used as a credential helper by other parts of git. See
25       gitcredentials(7) or EXAMPLES below.
26

OPTIONS

28       --store=<path>
29           Use <path> to store credentials. The file will have its filesystem
30           permissions set to prevent other users on the system from reading
31           it, but will not be encrypted or otherwise protected. Defaults to
32           ~/.git-credentials.
33

EXAMPLES

35       The point of this helper is to reduce the number of times you must type
36       your username or password. For example:
37
38           $ git config credential.helper store
39           $ git push http://example.com/repo.git
40           Username: <type your username>
41           Password: <type your password>
42
43           [several days later]
44           $ git push http://example.com/repo.git
45           [your credentials are used automatically]
46
47

STORAGE FORMAT

49       The .git-credentials file is stored in plaintext. Each credential is
50       stored on its own line as a URL like:
51
52           https://user:pass@example.com
53
54
55       When Git needs authentication for a particular URL context,
56       credential-store will consider that context a pattern to match against
57       each entry in the credentials file. If the protocol, hostname, and
58       username (if we already have one) match, then the password is returned
59       to Git. See the discussion of configuration in gitcredentials(7) for
60       more information.
61

GIT

63       Part of the git(1) suite
64
65
66
67Git 1.8.3.1                       11/19/2018             GIT-CREDENTIAL-STO(1)
Impressum