I'm trying to rebase a feature branch on top of my develop branch, but I get the error below. I'm not sure, but I think this happens whenever I move files from one folder to another. Those files that it's complaining out didn't have any changes made in the branch that I'm rebasing on top of so I'm not sure what the problem is. This occurred originally in git 2.2.2; I just tried upgrading to 2.5.0 and it's still happening.
If I forget about the rebase and just merge my feature branch into the develop branch then everything works fine. Git has no problem merging the feature branch with the develop branch.
Does anyone have any suggestions on how I can complete the rebase? I tried using the git rebase --skip
option, but that resulted in a bunch of code (from other commits presumably) getting deleted.
First, rewinding head to replay your work on top of it...
Applying: Entries now populate the Schedule A table when a calendar day is clicked; other refactoring
Applying: Introduce DailyLog
Using index info to reconstruct a base tree...
<stdin>:37: trailing whitespace.
@function_groups = current_user.organization.visible_function_groups
<stdin>:82: trailing whitespace.
if @entry.save
<stdin>:111: trailing whitespace.
# for a given day.
<stdin>:136: trailing whitespace.
self.create(user: user, created_at: the_date_time, organization_id: user.organization.id,
<stdin>:383: trailing whitespace.
</div>
warning: squelched 13 whitespace errors
warning: 18 lines add whitespace errors.
Falling back to patching base and 3-way merge...
error: Your local changes to the following files would be overwritten by merge:
app/views/entries/_entry_form_activity.html.erb
app/views/entries/_entry_form_employee_info.html.erb
app/views/entries/_entry_form_other_info.html.erb
app/views/entries/_entry_form_production_info.html.erb
app/views/entries/_entry_form_time_codes.html.erb
app/views/entries/create.js.erb
app/views/entries/edit.html.erb
Please, commit your changes or stash them before you can merge.
Aborting
Failed to merge in the changes.
Patch failed at 0002 Introduce DailyLog
The copy of the patch that failed is found in:
/home/slopeuser/Documents/dev/estat/.git/rebase-apply/patch
When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".