問題: 在window系統上初次執行git review 報錯,git 找不到gerrit遠程倉庫,須要執行 git remote add gerrit ssh://username@review.xxxxxx.com:29418/gerrit_sample.gitpython
錯誤信息: Could not connect to gerrit. Enter your gerrit username: Trying again with ssh://@review.xxxx.com:29418/gerrit_sample.git <traceback object at 0x0000000003128A48> We don't know where your gerrit is. Please manually create a remote named "gerrit" and try again. Could not connect to gerrit at ssh://@review.xxxxx.com:29418/gerrit_sample.git Traceback (most recent call last): File "c:\python27\lib\runpy.py", line 162, in _run_module_as_main "main", fname, loader, pkg_name) File "c:\python27\lib\runpy.py", line 72, in run_code exec code in run_globals File "C:\Python27\Scripts\git-review.exe_main.py", line 9, in <module> File "c:\python27\lib\site-packages\git_review\cmd.py", line 1534, in main sys.exit(e.EXIT_CODE) AttributeError: 'GitReviewException' object has no attribute 'EXIT_CODE'git