# Rebase in progress. Cannot commit. How to proceed

**URL:** https://talk.openmrs.org/t/rebase-in-progress-cannot-commit-how-to-proceed/30756
**Category:** Development
**Tags:** developers-forum
**Created:** [October 30, 2020, 6:19am UTC](https://talk.openmrs.org/t/rebase-in-progress-cannot-commit-how-to-proceed/30756 "2020-10-30T06:19:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kdaud](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kdaud/32/13346_2.png) [@kdaud](https://talk.openmrs.org/u/kdaud)
#### Post date: [October 30, 2020, 6:19am UTC](https://talk.openmrs.org/t/rebase-in-progress-cannot-commit-how-to-proceed/30756/1 "2020-10-30T06:19:16Z")

</div>

I’m stuck 😷. I don’t know what to do? Does it really take this long to rebase? `git rebase --continue` doesn’t do anything. I don’t have anything in git status… I’m just waiting for the rebase. Here is the output  
`No commands done.
Next commands to do (3 remaining commands):
pick d4cb07a4 RESTWS-802:Collapsible if statements should be merged (#465)
squash b25eab57 RESTWS-798:Parameterized messages should be used for logging (#466)
(use “git rebase --edit-todo” to view and edit)
You are currently editing a commit while rebasing branch ‘RESTWS-795’ on ‘55692106’.
(use “git commit --amend” to amend the current commit)
(use “git rebase --continue” once you are satisfied with your changes)`

`
`

`nothing to commit, working tree clean
`  
What can I do?

---

<div class="post-metadata">

### Author: ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)
#### Post date: [October 30, 2020, 6:28am UTC](https://talk.openmrs.org/t/rebase-in-progress-cannot-commit-how-to-proceed/30756/2 "2020-10-30T06:28:25Z")

</div>

> [@kdaud](#):
>
> (use “git rebase --edit-todo” to view and edit) You are currently editing a commit while rebasing branch ‘RESTWS-795’ on ‘55692106’. (use “git commit --amend” to amend the current commit) (use “git rebase --continue” once you are satisfied with your changes)

Do any of these lines apply to what you are doing,if so apply the recommended command

---

<div class="post-metadata">

### Author: ![kdaud](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kdaud/32/13346_2.png) [@kdaud](https://talk.openmrs.org/u/kdaud)
#### Post date: [October 30, 2020, 6:42am UTC](https://talk.openmrs.org/t/rebase-in-progress-cannot-commit-how-to-proceed/30756/3 "2020-10-30T06:42:06Z")

</div>

Actually am squashing my commits to become one But things are not working out even when i run  
 `git rebase --continue`

---

<div class="post-metadata">

### Author: ![jwnasambu](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jwnasambu/32/13543_2.png) [@jwnasambu](https://talk.openmrs.org/u/jwnasambu)
#### Post date: [October 30, 2020, 12:40pm UTC](https://talk.openmrs.org/t/rebase-in-progress-cannot-commit-how-to-proceed/30756/4 "2020-10-30T12:40:17Z")

</div>

@kdaud you are having two processes running concurrently basing on what am seeing on the logs. What if you first amend the commit by running `git commit --amend` then run `git rebase --continue` to proceed with squashing? Alternatively run `git rebase --abort` to to completely undo the rebase and begin the process a fresh.

---

<div class="post-metadata">

### Author: ![kdaud](https://talk.openmrs.org/user_avatar/talk.openmrs.org/kdaud/32/13346_2.png) [@kdaud](https://talk.openmrs.org/u/kdaud)
#### Post date: [October 30, 2020, 1:43pm UTC](https://talk.openmrs.org/t/rebase-in-progress-cannot-commit-how-to-proceed/30756/5 "2020-10-30T13:43:09Z")

</div>

`git rebase --abort` helped out. 💕
