Skip to content

Instantly share code, notes, and snippets.

@isacmoura
Forked from AlbertoMonteiro/.gitconfig
Created June 1, 2020 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isacmoura/caf16f79e3e9ad81c10123f17fb2542b to your computer and use it in GitHub Desktop.
Save isacmoura/caf16f79e3e9ad81c10123f17fb2542b to your computer and use it in GitHub Desktop.
Set Environment
[user]
name = Alberto Monteiro
email = alberto.monteiro@live.com
[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
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
scoop install concfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment