7/25/2023 0 Comments Windows alias for systemnameStep 2: then in tools ~/Documents/tools/profile. git config -global checkout git config -global alias.ci commit git config -global alias.st status git config -global alias.br branch. Open the commandline and type these below 4 commands and use the shortcuts after. Set-ExecutionPolicy -Scope CurrentUser Unrestricted Follwing are the 4 git shortcuts or aliases youc an use to save time. # Make sure Powershell profile is readable $content = ~/Documents/tools/profile.ps1", # this is your auto-generated powershell profile to be installed Md $psdir -ErrorAction Silentl圜ontinue | out-null $psfile = $psdir "\Microsoft.PowerShell_profile.ps1" $psdir = "$env:USERPROFILE\Documents\WindowsPowerShell" # AND INSTALLS A POINTER TO A GLOBAL POWERSHELL PROFILE ![]() # THIS SCRIPT BLOWS AWAY YOUR DEFAULT POWERSHELL PROFILE SCRIPT Step 1: Create a Powershell Profile: FILE: install_profile.ps1
0 Comments
Leave a Reply. |