# Rebase difficulty

2 messages from 2011-03-24 to 2011-03-24. Participants: Afzal Mohammed, Lasse Makholm.
Thread: https://gitlist.dev/t/26854

## Afzal Mohammed, 2011-03-24 17:22

Subject: Rebase difficulty
Message-ID: <1300987351-3248-1-git-send-email-lazfamam@gmail.com>
URL: https://gitlist.dev/e/1300987351-3248-1-git-send-email-lazfamam%40gmail.com

```
Hi,

Is there a way, while in the process of rebasing, to skip multiple patches with single command ?

Current scenario,

"[1] git rebase upstream" has been executed initially, around 500 commits would be present after upstream.

out of this 500, some commits has to be skipped (contiguous at different points) and some has to be applied. After [1], git starts applying, it has to be stopped, skip a few, continue applying a few, skip a few and so on.

Please let me know if there is an easy way of doing it or is there any other command meant for this.

Thanks
Afzal

```

## Lasse Makholm, 2011-03-24 20:20

Subject: Re: Rebase difficulty
Message-ID: <AANLkTi=+uzVGSi+FO2k3qE_T_By9ynTSE1h6uENFbZ8M@mail.gmail.com>
URL: https://gitlist.dev/e/AANLkTi%3D%2BuzVGSi%2BFO2k3qE_T_By9ynTSE1h6uENFbZ8M%40mail.gmail.com
In-Reply-To: <1300987351-3248-1-git-send-email-lazfamam@gmail.com>

```
On 24 March 2011 18:22, Afzal Mohammed <lazfamam@gmail.com> wrote:
> Hi,
>
> Is there a way, while in the process of rebasing, to skip multiple patches with single command ?
>
> Current scenario,
>
> "[1] git rebase upstream" has been executed initially, around 500 commits would be present after upstream.
>
> out of this 500, some commits has to be skipped (contiguous at different points) and some has to be applied. After [1], git starts applying, it has to be stopped, skip a few, continue applying a few, skip a few and so on.
>
> Please let me know if there is an easy way of doing it or is there any other command meant for this.

git rebase -i ?

/Lasse

```
