Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
print() {
echo -e "\e[34m${1}\e[0m"
}
print "GIT user.name?"
read git_config_user_name
print "GIT user.email?"
# reference https://gist.github.com/zloeber/9c2d659a2a8f063af26c9ba0285c7e78
# Step 1: Open an elevated PowerShell prompt and set execution policy
# Set-ExecutionPolicy Unrestricted -Force
#
# Step 2: Install Boxstarter
# . { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; Get-Boxstarter -Force
#
# Step 3: Store your user credential (select your username name and provide your password in the dialog box)
# $cred=Get-Credential