kinow commented on pull request #179:
URL: https://github.com/apache/commons-imaging/pull/179#issuecomment-949109047


   > did a git rebase -i HEAD~2 to try to squash the commits (there were 2 
commits then, there's 3 now)
   
   All your process above sounds correct to me. Here you were probably 
presented with a text editor, where you replaced the `pick` by either `fixup`, 
or left it as is?
   
   >The push failed, telling me I had merge conflicts. Which I can accept as 
true, except I cannot see how that could possibly be the case since I did no 
other work on my code. Also, I can't figure out how to do the merge... Also, 
git basically destroyed some of my classes, inserting text into it that must be 
related to the merge. So now it won't even compile.
   
   @gwlucastrig when you started the new branch, did you create it off 
`master`? If you did something like:
   
   ```bash
   git checkout master
   git checkout -b ISSUE-311-1
   ```
   
   then it might be worth making sure that your `master` is up to date to the 
Apache `master` branch:
   
   ```bash
   git fetch --all
   git checkout master
   git rebase origin/master (origin or any other name you gave to the apache 
remote repo)
   OR
   git reset --hard origin/master
   ```
   
   Then after that `git checkout -b ISSUE-311-1`. I'm syncing my repo to take a 
look and investigate what happened.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to