I have two commits. Commit B depends on commit A. Commit A was left. Now I get an error for merge B. This says that it is sent, the merge is expected due to the dependence of B on A.
I googled around, but cannot find the exact answer. I need a step-by-step solution since I am new to git and it is hard for me to figure out how to resolve this.
Here is what happened.
git commit in local for A.
git press for A on the remote control.
Refused, but my local git has a commit A.
git commit in local for B in the same branch (makes B dependent on A).
git press B on the remote in the same branch.
Now B does not merge, since A is abandoned.
I need to merge B, and I want the dependency on A to be removed. Hope this is clear now!
Here is the server error:
Edit 1184 - Sent, Awaiting Merge
In comments:
Gerrit Code Overview
Change cannot be merged due to missing dependency. the following changes should also be submitted: (commit-id that was left)
Will the reboot work? If so, how to do it?
source share