相关疑难解决方法(0)

.gitconfig别名函数调用

我在.gitconfig中定义了以下别名:

[alias]
    teamcity = ! tc
Run Code Online (Sandbox Code Playgroud)

tc是我在我的.bashrc文件中定义的shell函数.出于某种原因,我收到以下错误:

[aafghani-03:~/git/workday amirafghani(master)]$ git teamcity
 tc: tc: command not found
Run Code Online (Sandbox Code Playgroud)

有谁知道我能做些什么来解决这个问题?我想尽可能将函数保存在我的.bashrc 文件中.

git

3
推荐指数
1
解决办法
1194
查看次数

标签 统计

git ×1