We are using Gerrit for our Git repository. On a project that has been active for several months, we are suddenly unable to push any changes. When we execute git pus
git pus
If not on master branch, you can simply delete the remote branch by:
git push --delete origin
And then push your branch back to the remote:
git push -u origin