Git Feature Request

I looked for a git bugzilla but could not find one.

The feature I want is for ‘git status’ to show you if you are in the middle if a rebase.

3 thoughts on “Git Feature Request

  1. I agree that it would be very useful for this to be shown in git-status.

    I have it in my prompt using __git_ps1() from /etc/bash_completion.d/git. It looks like all that does for REBASE/MERGE/BISECT status is check for the existence of certain files in the .git directory.

  2. Josh Stone is 100% right. Just use __git_ps1 to do it. For instance, my PS1 variable (exported from ~/.bashrc) looks like:
    PS1=’${debian_chroot:+($debian_chroot)}\[33[01;32m\]\u@\h\[33[00m\]:\[33[01;34m\]\w\[33[00m\]\$$(__git_ps1) ‘

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s