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 7066779
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:07:18+00:00 2026-05-28T05:07:18+00:00

I have a branch named lemon. I wanted to pull changes into it from

  • 0

I have a branch named “lemon”. I wanted to pull changes into it from my peers by doing:

git pull --rebase origin lemon

but I accidentally ran:

git pull --rebase origin master

I killed the process before it went through (mostly) ugh. I’m back to my directory now, and trying to run:

git pull --rebase origin lemon 

gives me the following output:

It seems that I cannot create a rebase-apply directory, and
I wonder if you are in the middle of patch application or another
rebase.  If that is not the case, please

  rm -fr /Users/me/project/.git/rebase-apply

and run me again.  I am stopping in case you still have something
valuable there.

so it looks like it was part way through doing the unwanted pull/rebase, and knows something is up. How do I cancel whatever was undone? Is the above message telling me the command I should run to do that (rm -fr ..) ?

Thanks

  • 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-05-28T05:07:19+00:00Added an answer on May 28, 2026 at 5:07 am

    Try git rebase --abort

    That should take care of the issue by canceling the original rebase

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a branch called experiment. git checkout master echo 'some changes' > a.txt
I'm using git. I have a branch, apifixes , that was branched from master
I have a big named branch with a lot of changes. Some of these
Have a scenario where we un-intentionally merged a named branch ( ABC ) into
I created a new branch named newbranch from the master branch in git. Now
Let's say that I have a named branch 'B1' which I'm doing feature development
Suppose I have a tracking branch named ' abc ' which tracks origin/master .
I have a branch which I created from the trunk some time ago. Since
Somehow my master and my origin/master branch have diverged. I actually don't want them
I am new to Git and I seem to have one branch too many

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.