github for mac
을 설정 했으므로 터미널에서 git 명령을 사용하려고합니다.힘내 : 'rebase'는 자식 명령이 아닙니다. 'git --help'참조
난 당신이 옵션 REBASE이 존재 도움말 출력에서 볼 수 있듯이 내가
> cd /Applications/GitHub.app/Contents/Resources/git/bin
> git rebase
git: 'rebase' is not a git command. See 'git --help'.
>git --help
usage: git [--version] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
[-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
[--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
[-c name=value] [--help]
<command> [<args>]
The most commonly used git commands are:
...
rebase Forward-port local commits to the updated upstream head
....
그래서 다음과 같은 메시지를 얻을 git rebase
명령을 실행하려고합니다.
내 자식이 잘못 되었나요?
git --version
git version 1.7.8.2
'$ PATH'는 무엇입니까? 나는'git'뿐만 아니라'./git'을 사용하여 그 디렉토리에서'git'을 실행해야한다고 생각했을 것입니다. – trojanfoe