2016-12-20 4 views
-2

Intellijからgit remoteのコードをプッシュしています。 スタックトレースは次のとおりです。git remote in Intellijからコードをプッシュすることができません

13:17:57.195: [..\..\uiautomation] git -c core.quotepath=false push --progress --porcelain origin refs/heads/v16.2rc_Local:v16.2rc --force --follow-tags 
Counting objects: 12, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (10/10), done. 
Writing objects: 100% (12/12), 993 bytes | 0 bytes/s, done. 
Total 12 (delta 6), reused 0 (delta 0) 
To ssh://[email protected]:29418/platform/test/uiautomation 
! refs/heads/v16.2rc_Local:refs/heads/v16.2rc [remote rejected] (prohibited by Gerrit) 
remote: Resolving deltas: 100% (6/6)   
remote: Branch refs/heads/v16.2rc:   
remote: You are not allowed to perform this operation.   
remote: To push into this reference you need 'Push' rights.   
remote: User: raj   
remote: Please read the documentation and contact an administrator   
remote: if you feel the configuration is incorrect   
remote: Processing changes: refs: 1, done    
error: failed to push some refs to 'ssh://[email protected]:29418/platform/test/uiautomation' 

私が最初にCleaning out the system cachesにしてみてくださいCMDから

+0

cmdからプッシュするとうまくいきます – Raj

+0

あなたの質問をフォーマットします –

+0

コードのレビューを解決しましたか?あなたはGerritを実行しているようです... https://www.gerritcodereview.com/ – vikingsteve

答えて

0

をプッシュしていたときにそれが正常に動作しています。

エラーがまだ残っている場合は、プロジェクトサブフォルダの.gitフォルダを確認して削除してください。プロジェクトのルートには.gitというフォルダが1つだけあります。

+0

私はクリーンアップタスクを実行し、.git filもチェックしましたが、同じエラーが発生しています。 – Raj

関連する問題