开发者

Installing WWW-development system on Macbook

I tried to install git and Mamp to my Macbook. After I installed Mamp, I found a new folder under the applications folder. But as I installed git, I didn't find开发者_Go百科 it under the applications folder. Am I doing everything OK and how can I test if git works correctly?


git is a command line application. Open Terminal and type git, followed by Return.

It should print some help, similar to:

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>]

If it says command not found, then either it is not installed, or not in the PATH.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜