Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

 
Root Caused:
通常是 SSH Key 沒有加入的問題
Solution:
1.重新產生 SSH Key
終端機輸入

ssh-keygen –t rsa –b 2048


2.顯示 SSH Key
終端機輸入

cat ~/.ssh/id_rsa.pub


3.貼到 Gerrit 中
Settings -> SSH Public Keys -> add key 
貼上第2步中所有的內容