Skip to content

Instantly share code, notes, and snippets.

@isacmoura
Forked from AlbertoMonteiro/.gitconfig
Created June 1, 2020 17:35
Show Gist options
  • Select an option

  • Save isacmoura/caf16f79e3e9ad81c10123f17fb2542b to your computer and use it in GitHub Desktop.

Select an option

Save isacmoura/caf16f79e3e9ad81c10123f17fb2542b to your computer and use it in GitHub Desktop.
Set Environment
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop

Sublime Theme

https://github.com/mrmartineau/SetiUI-Icons-Sublime

Chocolatey configuration

setx ChocolateyInstall D:\ChocolateyInstall /m
@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
set path="%path%;C:\Program Files\Sublime Text 3;
setx path "%path%" /m

Chocolatey install packages

  • 7zip
  • adobereader
  • markdownpad2
  • fiddler4
  • git
  • nodejs.install
  • notepad2
  • python
  • scriptcs
  • SublimeText3
  • SublimeText3.PackageControl
  • conemu
  • mssqlservermanagementstudio2014express
  • mssqlserver2014express

Chocolatey install command

choco install 7zip adobereader markdownpad2 fiddler4 git nodejs.install notepad2 python scriptcs SublimeText3 SublimeText3.PackageControl conemu mssqlservermanagementstudio2014express mssqlserver2014express

Git Config

git config --global user.name "Alberto Monteiro"
git config --global user.email [email protected]
git config --global core.editor "subl -n -w"

https://gitcredentialstore.codeplex.com/

Git Alias

[alias]
	st = status
	pr = pull
	recommit = commit -a --amend --no-edit
	upStg = !git checkout aprovado && git merge develop && git checkout staging && git merge develop && git checkout develop
	atualizatudo = !git fetch --prune && git checkout develop && git pull && git checkout aprovado && git pull && git checkout staging && git pull && git checkout master && git pull && git checkout develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment