Close Menu
    What's Hot

    YouTube Unblocked Proxy: Overview, Benefits, and Real-World Use Cases

    April 7, 2026

    Linux Kernel Release Frequency Statistics 2026

    April 7, 2026

    How To Use The SSH Login Command

    April 7, 2026
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • Man Pages
    • Arch Linux
    • Statistics
    • How to
      • Q&A
    • OS
      • Windows
    • Blog
      • Featured
    • MORE
      • Easter Eggs
      • IP Address
    • Write For Us
    • Contact Us
    Command Linux
    Home - man page - GIT-CREDENTIAL-STO

    GIT-CREDENTIAL-STO

    WillieBy WillieFebruary 9, 2026Updated:February 9, 2026No Comments2 Mins Read

    NAME

    git-credential-store – Helper to store credentials on disk  

    SYNOPSIS

    git config credential.helper ‘store [options]’
    

     

    DESCRIPTION


    Note

    Using this helper will store your passwords unencrypted on disk, protected only by filesystem permissions. If this is not an acceptable security tradeoff, try git-credential-cache(1), or find a helper that integrates with secure storage provided by your operating system.

    This command stores credentials indefinitely on disk for use by future Git programs.

    You probably don’t want to invoke this command directly; it is meant to be used as a credential helper by other parts of git. See gitcredentials(7) or EXAMPLES below.  

    OPTIONS

    –file=<path>

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

    EXAMPLES

    The point of this helper is to reduce the number of times you must type your username or password. For example:

    $ git config credential.helper store
    $ git push http://example.com/repo.git
    Username: <type your username>
    Password: <type your password>
    
    [several days later]
    $ git push http://example.com/repo.git
    [your credentials are used automatically]
    

     

    STORAGE FORMAT

    The .git-credentials file is stored in plaintext. Each credential is stored on its own line as a URL like:

    https://user:[email protected]
    

    When Git needs authentication for a particular URL context, credential-store will consider that context a pattern to match against each entry in the credentials file. If the protocol, hostname, and username (if we already have one) match, then the password is returned to Git. See the discussion of configuration in gitcredentials(7) for more information.  

    GIT

    Part of the git(1) suite

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    E2FREEFRAG

    April 7, 2026

    Net::DNS::RR::DHCID

    April 7, 2026

    LOGROTATE

    April 7, 2026

    EVP_MD_CTX_destroy

    April 7, 2026
    Top Posts

    UNIMPLEMENTED

    February 5, 2026

    Microsoft XNA Framework Toolkit

    February 4, 2026

    LWP-REQUEST

    March 6, 2026

    dpkg-name

    March 4, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.