docker run -it ghcr.io/egineering-llc/gitworkshop-push-conflict
Simulates an issue when two separate git users are committing to the same branch with conflicting changes.
The current local repository has 1 commit that is not yet pushed to the remote repository:
+First line
Middle line
+Last lineHowever, someone else had pushed changes into the same branch in the remote repository that conflicts with your change:
+Line 1
Middle line
+Line 3The goal is to push your changes keeping all the changes (modified to make sense):
+First line
+Line 2
Middle line
+Line 4
+Last line