我已经厌倦了每天做git add & git commit,我知道在Linux中,您可以使用1行命令编辑bashrc,但是由于我使用windows,我很难为
Fucntion gcd {
Insert("git commit")
}
Set-Alias gcm gcd但我犯了个错误
Set-Alias : Alias is not writeable because alias gcm is read-only or constant and cannot be written to.我也尝试过不使用Insert关键字,即使函数仍有错误。
https://stackoverflow.com/questions/71028587
复制相似问题