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: David Kastrup
Subject: Re: VC / Git: amend function / mark for add / timing
Date: Mon, 12 Oct 2009 08:55:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

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.
>
> 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?

I don't think so unless you are using git.el.  My preferred candidate
for this would be C-x v i (since it basically does a git add for an
unregistered file, it could do the same for a registered file).

-- 
David Kastrup





reply via email to

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