3

I am using git for source control in visual studio 2010. I can use commands like "git status" , "git commit" but when i try to use "git review" i am getting the error as " git: 'review' is not a git command. See 'git --help'." Help me please

Edit1: i am using "git review" to submit git branches (code) to gerrit for review.

2 Answers 2

5

Git review is an external command from git. It is not a command included in git code. You have to install it.

Please follow Git-review documentation to the installation if you intend to use it.

1
  • 1
    I have followed the same, still no vain. any troubleshot steps to identify where the problem exactly present ?
    – Ved
    Commented Sep 30, 2016 at 8:31
-3

It means that review is not a valid command to be used with git.

For e.g. when you use git add . - git understands that you want to stage all the files that you have changed to be committed. add . is a valid commandment for git to do staging operation.

In similar fashion, review is not a valid command and thus git recommends you to lookout for help by running git --help

What do you intend to do with review command?

EDIT 1: As per comments, adding screenshot of area from where pull requests are created on github.com

github screenshot for pull request

4
  • this git review command is going to send my code for team-lead's review. i checked git --help, there is no review command in help list. P.S. i checked the git --help from other system, in that machine also it is not showing in help , BUT git review command is working fine there.
    – Ved
    Commented Sep 30, 2016 at 6:17
  • You have to send a pull request. If you repository is on github. go to your repository on browser and then you will see Pull Request. You need to create pull request for this. Let me know, if you need more explanation for pull request. Commented Sep 30, 2016 at 6:19
  • 1
    i am using gerrit. why i am using "git review" is to submit git branches to gerrit for review. The screen shot which you attached i never saw.
    – Ved
    Commented Sep 30, 2016 at 7:05
  • Its a different problem altogether then, not a git issue at all. Commented Sep 30, 2016 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.