मैंने github for mac
सेट अप किया है और अब मैं टर्मिनल से गिट कमांड का उपयोग करने की कोशिश कर रहा हूं।गिट: 'रीबेज' एक गिट कमांड नहीं है। देखें 'git --help'
अगर मैं git 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 --version
git version 1.7.8.2
आपका '$ पाथ' क्या है? मुझे उम्मीद है कि आपको उस निर्देशिका से 'git' को '।/Git' का उपयोग करके' git' 'चलाने की आवश्यकता होगी, न कि केवल' git', जिसे मैं सिस्टम-स्थापित संस्करण को चुनता हूं। – trojanfoe