From fde5b6ac60359c5f7455b433c5cd5bf28d71a30e Mon Sep 17 00:00:00 2001 From: tomit4 Date: Thu, 23 Jun 2022 03:54:12 -0700 Subject: [PATCH] added notation on even more usefulfeatures of git --- git_notes.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/git_notes.txt b/git_notes.txt index 2787d843..4ba8fa67 100644 --- a/git_notes.txt +++ b/git_notes.txt @@ -10,6 +10,13 @@ git config --global user.name "Your name" git config --global user.email "yourname@youremail.com" #Configures git with your git(hub) user email +git config credential.helper 'cache --timeout=3600' +# Allows passwordless commits for an hour after invokation + +edit .git/config with this so that it doesn't ask for gpgkeys: +[commit] + gpgsign = false + git init #initializes a new git repository on local machine