#!/bin/bash source $HOMESTEAD_SCRIPTS/helperFunctions.sh ############################################################################### # # Setup git # ############################################################################### cat < /home/vagrant/.gitconfig [user] name = $GIT_AUTHOR_NAME email = $GIT_AUTHOR_EMAIL [core] editor = vi [alias] lol = log --graph --decorate --pretty=oneline --abbrev-commit --all [credential] helper = cache [push] default = simple EOT cat < /home/vagrant/.gittokens FullAccess - $GIT_HUB_TOKEN EOT updateAuth /home/vagrant/.gitconfig 0600 updateAuth /home/vagrant/.gittokens 0600