How to set aliases in the Git Bash for Windows?

后端 未结 8 1766
渐次进展
渐次进展 2021-01-29 19:34

How to alias command in Git Bash for Windows downloaded from git-scm.com ?

I mean Bash commands not Git.

(windows7)


Edit:

Writing aliases i

8条回答
  •  既然无缘
    2021-01-29 20:14

    Using Windows and MINGW64 GitBash ((mintty 3.2.0), i found the file under:

    C:\Users\\AppData\Local\Programs\Git\etc\profile.d\aliases.sh
    

    Just add the alias there and i worked for me

提交回复
热议问题