Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 538 Bytes

config.md

File metadata and controls

22 lines (19 loc) · 538 Bytes

Git Setup and Configuration

# list all configurations
git config -l # --list
# only push current branch to the one it pulls from
git config --global push.default=simple
git config --global user.name "Jesse Zhuang"
git config --global user.email "[email protected]"

password storage

SSH allows key without passphrase, no username/password needed.

# save for 15 min
git config --global credential.helper 'cache --timeout=900'
# use wincred on Windows
git config --global credential.helper wincred