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