Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8338415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T04:35:10+00:00 2026-06-09T04:35:10+00:00

I am working locally on a branch (master). I previously made a rebase to

  • 0

I am working locally on a branch (master). I previously made a rebase to squash some commits which I thought worked. I continued to make a number of commits until I needed to perform another rebase. When I called git rebase -i HEAD~3 I got the error:

Interactive rebase already started

suggesting that I never properly finished the old rebase.

Now I want to abort the old rebase, without losing any of my changes since it began. I was going to use

git rebase --abort

but I’m pretty sure that will remove all my local commits and put be back before the rebase. What can I do here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T04:35:12+00:00Added an answer on June 9, 2026 at 4:35 am

    Commit them. Abort the rebase. Pull the commit from git reflog.

    git add .
    git commit -m "Rebased changes"
    git rebase --abort
    git cherry-pick HEAD@{1}
    

    Do with it what you will. If your git reflog expired (I can’t imagine a situation where this would occur in normal day-to-day operations), cut a new branch then abort the rebase:

    git add .
    git commit -m "Rebase changes"
    git checkout -b rebased-master
    git rebase --abort
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a shopping cart which is installed locally via xampp. The
My working copy is on master branch, how to update from remote server? Say
Take a simple example: I'm working on the default branch, have some changesets committed
I've been working on my local master branch on a new feature that is
As we are working locally so our service link is: http://localhost:8012/webservice.asmx When we deploy
I have the current bundle reference working locally: Bundles.Reference(/Content/global.css); On the development site, this
My team have 3 or 5 person.And we are working locally. and we decided
I have Apache installed with the XAMPP package, and I'm working locally. I have
So, the app was working great locally until I precompiled the assets. When deploying
I'm currently working on an Azure project that works 100% locally with emulator resources.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.