使用软连接进行对命令进行链接不好使
发表于 : 2012-07-12 19:36
$ sudo ln -s git-commit g-commit
$ g-commit -a -m "test"
Unknown option: -a
usage: git [--version] [--exec-path[=<path>]] [--html-path]
[-p|--paginate|--no-pager] [--no-replace-objects]
[--bare] [--git-dir=<path>] [--work-tree=<path>]
[-c name=value] [--help]
<command> [<args>]
这个错误是为什么?
多谢,求高手指教。
$ g-commit -a -m "test"
Unknown option: -a
usage: git [--version] [--exec-path[=<path>]] [--html-path]
[-p|--paginate|--no-pager] [--no-replace-objects]
[--bare] [--git-dir=<path>] [--work-tree=<path>]
[-c name=value] [--help]
<command> [<args>]
这个错误是为什么?
多谢,求高手指教。