This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
print() { | |
echo -e "\e[34m${1}\e[0m" | |
} | |
print "GIT user.name?" | |
read git_config_user_name | |
print "GIT user.email?" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |