Skip to content

Instantly share code, notes, and snippets.

@AlbertoMonteiro
Forked from shanselman/gist:969e190dcb21d9814c57
Last active June 1, 2020 17:35
Show Gist options
  • Save AlbertoMonteiro/16037838e23ec8c63140 to your computer and use it in GitHub Desktop.
Save AlbertoMonteiro/16037838e23ec8c63140 to your computer and use it in GitHub Desktop.
Set Environment
[user]
name = Alberto Monteiro
email = [email protected]
[core]
preloadindex = true
fscache = true
autocrlf = true
editor = code -n -w
[alias]
fetchall = fetch --all --prune
lognice = log --pretty --oneline -10
st = status
pr = pull
co = checkout
up = pull --rebase --prune
recommit = commit -a --amend --no-edit
ec = config --global -e
up = !git pull --rebase --prune $@ && git submodule update --init --recursive
cob = checkout -b
cm = !git add -A && git commit -m
[gc]
auto = 256
[push]
default = matching
[diff]
tool = vsdiffmerge
[difftool]
prompt = true
[difftool "vsdiffmerge"]
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t
keepBackup = false
[merge]
tool = vsdiffmerge
[mergetool]
prompt = true
[mergetool "vsdiffmerge"]
cmd = \"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer\\vsdiffmerge.exe\" \"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //m
keepBackup = false
trustExitCode = true
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
choco feature enable -n allowGlobalConfirmation
choco install 7zip fiddler4 git.install nodejs.install notepad2 nuget.commandline SublimeText3 SublimeText3.PackageControl
choco install awscli awssdk-tools dotnet3.5 mssqlservermanagementstudio2014express mssqlserver2014express
npm install -g typescript gulp aurelia-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment