If you faced with problem that out-of-the-box Git under Mac has no auto-complete functionality you can go this way:
Copy it to, for example,
Then open your ~/.bash_profile or ~/.profile and append next string
Thats’s it ![]()
本文介绍如何为Mac下的Git设置自动补全功能。通过curl命令下载git-completion.bash文件并将其复制到用户的主目录中。接下来,在~/.bash_profile或~/.profile文件中加入source命令以启用自动补全。
If you faced with problem that out-of-the-box Git under Mac has no auto-complete functionality you can go this way:
Copy it to, for example,
Then open your ~/.bash_profile or ~/.profile and append next string
Thats’s it ![]()
673
1276
617

被折叠的 条评论
为什么被折叠?