- Clear History in powershell:
del (Get-PSReadlineOption).HistorySavePath - Set Execution Policy for current user:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser - Install Posh-Git for current user:
Install-Module posh-git -Scope CurrentUser
Example of artisan command:
# Artisan Alias. Example: art serve
function art {
return php artisan @args
}- Start SSH Agent Automaticaly:
Set-Service -Name ssh-agent -StartupType Automatic - Set Git SSH Binary to Windows 10 Built-in:
git config --global core.sshCommand C:/Windows/System32/OpenSSH/ssh.exe