git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Kitchen <kitchen.andy@gmail.com>
To: git@vger.kernel.org
Subject: git rebase -f --autosquash
Date: Sat, 12 May 2012 20:38:42 +1000	[thread overview]
Message-ID: <D7BE2BACB49749DB9FC37D4ACCCD008B@gmail.com> (raw)

Hi All, 

I commonly use:

git commit --fixup <commit>

to preen commits before pushing them. I can run

git rebase -i --autosquash HEAD@{upstream}

to apply these fixes, however, autosquash only
applies to interactive rebases.

Because I am sure that my fixes are applicable,
I would like to be able to non-interactively autosquash, possibly
like so:

git rebase -f --autosquash HEAD@{upstream}


Would anyone else find this feature useful?


Kind Regards

AK

             reply	other threads:[~2012-05-12 10:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-12 10:38 Andy Kitchen [this message]
2012-05-12 11:05 ` git rebase -f --autosquash Carlos Martín Nieto
2012-05-14 16:35   ` Junio C Hamano
2012-05-26  7:30     ` Andy Kitchen
2012-05-26 12:53       ` Vincent van Ravesteijn
2012-05-27  6:44       ` Junio C Hamano
2012-06-04 19:44         ` Phil Hord
2012-06-04 20:05           ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D7BE2BACB49749DB9FC37D4ACCCD008B@gmail.com \
    --to=kitchen.andy@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).