Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为 git 创建自己的自定义命令,但创建文件后不知道将文件放在哪里。这将是一个简单的 shell 脚本文件。
只需将它放在环境变量PATH指向的某个目录中(检查echo $PATH)。
PATH
echo $PATH