unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Manuel Uberti <manuel.uberti@inventati.org>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: vc-git: interactive rebasing
Date: Fri, 3 Dec 2021 15:40:11 +0300	[thread overview]
Message-ID: <ef580233-c415-0225-585b-b29b87ac92fc@yandex.ru> (raw)
In-Reply-To: <38be4a33-d755-a317-b7fd-ceb0f88c4416@inventati.org>

On 03.12.2021 13:13, Manuel Uberti wrote:
> Let me try to provide an example. Usually, 'M-! git rebase master' is 
> enough when I work on my projects, but sometimes I need to squash 
> commits before pushing. Is it possible to rely on VC for this? If it is 
> not a problem, could you describe how you would do it?

I do that from the console. ;-(

git rebase -i <branch>

It's not too bad, since you usually don't need to edit the commit 
messages (much), or stage/unstage changes, for example.



  reply	other threads:[~2021-12-03 12:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03 10:13 vc-git: interactive rebasing Manuel Uberti
2021-12-03 12:40 ` Dmitry Gutov [this message]
2021-12-03 13:16   ` Manuel Uberti
2021-12-03 13:26     ` Dmitry Gutov
2021-12-03 14:23       ` Manuel Uberti
2021-12-03 13:20 ` Stefan Monnier
2021-12-03 18:46 ` Thierry Volpiatto
2021-12-04  8:18   ` Manuel Uberti

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=ef580233-c415-0225-585b-b29b87ac92fc@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=emacs-devel@gnu.org \
    --cc=manuel.uberti@inventati.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).