I am kind of stuck in a pickle and not quite sure what to do next...
git push for-code-review
To ssh://cainteg@ah-git:29418/ClientArchitecture
! [rejected] HEAD -> refs/for/master (non-fast forward)
error: failed to push some refs to 'ssh://cainteg@ah-git:29418/
ClientArchitecture'
When anyone tries to push for code review they are getting the above
error. Unfortunately, I do not see anything being logged in Jetty.
The funny thing is that I am able to "git push origin master" which
bypasses the code review but still uses Gerrit's ssh port.
Any recommendations on things I can check?
Thing I have tried:
- Restarted Jetty
- Gave broader permissions in git repo
- Checked logs
Not sure if this helps but this is our git config...
[remote "origin"]
url = ssh://cainteg@ah-git:29418/ClientArchitecture
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "for-code-review"]
url = ssh://cainteg@ah-git:29418/ClientArchitecture
push = HEAD:refs/for/master
[user]
name = Ryan Alberts
email =
ralb...@gmail.com
[branch "master"]
remote = origin
merge = refs/heads/master
rebase = true
[branch]
autosetupmerge = true