added notation on even more usefulfeatures of git
This commit is contained in:
parent
3437071dbd
commit
fde5b6ac60
1 changed files with 7 additions and 0 deletions
|
|
@ -10,6 +10,13 @@ git config --global user.name "Your name"
|
||||||
git config --global user.email "yourname@youremail.com"
|
git config --global user.email "yourname@youremail.com"
|
||||||
#Configures git with your git(hub) user email
|
#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
|
git init
|
||||||
#initializes a new git repository on local machine
|
#initializes a new git repository on local machine
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue