ci.csn.khai.edu

CI-infrastructure of Computer Systems and Networks Department

How to Install git-review in Windows

NOTE: Before start git-review installation process be sure that python is already installed in your OS. If not so then download Python and install it. During setup of python it’s strongly recommended to add install directory to your PATH and to check that pip will be installed. For more details about how to install python see Using Python on Windows

  1. Run Command Prompt as an Administrator:

    • Click Start (or ⊞ Win).
    • In the Start Search box, type cmd, and then press CTRL + SHIFT + ENTER.
    • If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
  2. Make sure that python is already installed:

    $ python --version
    

    The result should be look like as follows:

    Check python install

  3. Install git-review with pip (Python package installing tool):

    $ pip install git-review
    

    Git review install

  4. Now git-review is ready and can be used to submit changes, e.g.:

    $ git clone <some_git_repository>
    [make_some_changes]
    $ git add .
    $ git commit -m "Some commit message"
    $ git review
    

NOTE: For more details on how to work with git-review see Gerrit Tutorial