emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VC / Git: amend function / mark for add / timing


From: Dan Nicolaescu
Subject: Re: VC / Git: amend function / mark for add / timing
Date: Tue, 13 Oct 2009 10:28:43 -0700 (PDT)

David Reitter <address@hidden> writes:

  > It would be nice if VC provided a function to add the "--amend"
  > argument to "git commit" so that the last commit is amended.  This is
  > useful when one forgets to check in file, especially after using C-x v
  > v to commit a single file.   The logical binding I thought of at first
  > was C-u C-x v v, but that seems to do something else.

It shouldn't be too hard to implement this, just that someone needs to
figure out what is the best UI for it.

  > Also, it's not obvious at all from the menu how to mark the file in
  > the current buffer for addition, i.e. do a "git add".  Is this
  > possible at all?

You can do:
C-x v d
mark the files and directories you want
C-x v v




reply via email to

[Prev in Thread] Current Thread [Next in Thread]