From f8cc9e248743ce1affb68939e812f7ec106e6c40 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Mon, 10 Jun 2024 11:18:12 +0900 Subject: [PATCH] Save `git` credentials to `~/.git_credentials`. --- .gitconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitconfig b/.gitconfig index b3935bd..92ab8df 100644 --- a/.gitconfig +++ b/.gitconfig @@ -82,12 +82,16 @@ [pull] # from 1.7.9 rebase = true + [credential] - helper = cache + helper = store --file ~/.git_credentials + helper = cache --timeout 1800 + [filter "lfs"] smudge = git-lfs smudge -- %f process = git-lfs filter-process required = true clean = git-lfs clean -- %f + [init] defaultBranch = main