Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rebasing in smartgit "git-am is in progress"

I will try to explain the problem that I have. I have used the rebase option via git bash many times. Now I have SmartGit and don’t know why rebase is not correct.

Step 1:

Step 2:

Step 3:

The result is that HEAD detaches.

like image 989
Ark Avatar asked Jan 15 '14 14:01

Ark


People also ask

Why does rebasing take so long?

What 'git rebase' does is take all your commits out until it finds a common parent and then apply upstream changes(The branch that you are merging) first and then apply the changes you have in your current branch. This process takes a long time. You have to fix the conflicts each time after fixing the conflicts.

How do I check progress in rebase?

If you're using git-prompt.sh, your prompt will show something like |REBASE-i (x/y) when resolving a conflict during an interactive rebase, where x is rebase step out of y where the conflict occurred. Show activity on this post. If you just want to take a look at it and you're using Bash, you can run: __git_ps1 .

How do I finish git rebasing?

When you're finished making all your changes, you can run git rebase --continue . As before, Git is showing the commit message for you to edit. You can change the text ( "i cant' typ goods" ), save the file, and close the editor. Git will finish the rebase and return you to the terminal.

What is rebase in SmartGit?

Rebase can be viewed as more powerful version of Cherry-Pick, which is optimized to apply multiple commits from one branch to another. In SmartGit, a distinction is made between Rebase HEAD to and Rebase to HEAD: Rebase HEAD to rebases (“moves”) the commits below the HEAD to the selected commit.


1 Answers

The same issue i have faced, i will delete the local branch in my machine and recreate it from origin each and every time. But finally i got the solution. I ran the below command

git am --abort solved my problem.

like image 183
Madhan Ayyasamy Avatar answered Oct 01 '22 10:10

Madhan Ayyasamy