02 powershell alias
1.使用 powershell 的 function 来实现
PS> function get-gitstatus { git status }
PS> get-gitstatus
# On branch master
nothing to commit (working directory clean)
PS> Set-Alias -Name gs -Value get-gitstatus
PS> gs
# On branch master
nothing to commit (working directory clean)2.持久化保存
最后更新于