安装git-review
Fedora/CentOS
sudo yum install git-review
If, while using git-review
, you see ImportError: No module named requests
, you’ll need to install python-requests
:
sudo yum install python-requests
OpenSUSE
Install (YaST) the python-setuptools
, then
easy_install pip
pip install git-review==1.21
As of OpenSUSE 13.1, git-review is included in the main repository, so you can use,
sudo zypper in git-review
OS X
OS X comes with Python (for now) but not the installation programs supported by Git and git-review.
Open Terminal and change to a directory you’re comfortable downloading test Git packages to (such as Downloads)
Download and install the OS X Installer for Git (for OS X 10.8 and earlier only, OS X 10.9 ships with Git pre-installed)
Install pip (Note: Already included in some older versions of OS X):
sudo easy_install pip
Update pip/setuptools (for OS X 10.7 and earlier only)
sudo pip install -U setuptools
Install git-review:
sudo pip install git-review
参考
https://www.mediawiki.org/wiki/Gerrit/git-review#Fedora.2FCentOS
更多推荐
所有评论(0)