Category: git
Pulled your chef cookbooks from git over https only to find you need to push them over SSH?
for I in $(find ~/chef-cookbooks -type d -name “cookbook*”); do cd $I NAME=”$(basename ${I}).git” git remote set-url origin git@github.com:project/${NAME} git…
Author: Andrew Published Date: May 15, 2017 Leave a Comment on Don’t want to have to type your GIT credentials in every-time?
Posted in git
Don’t want to have to type your GIT credentials in every-time?
To cache your credentials for 24 hours:- git config –global credential.helper “cache –timeout=86400”