我已經安裝了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