我已经安装了git for windows。我想com
成为commit -m
一个别名,这样我就可以写例如为什么我无法使用此Git别名工作?
git com "dumb commit message"
和它的作品,好像我写的一样
git commit -m "dumb commit message"
我加入这个行到“gitconfig”文件(为什么这些linux类型有这样的文件扩展的仇恨?):
这不起作用。我得到
error: pathspec 'dumb commit message' did not match any file(s) known to git.
我试着在上面的语法变化“gitconfig”我试图从Git的Bash的内部定义它。我似乎无法做到。
UNIX中的文件是'.gitconfig',在它前面的点。 – UncleZeiv