On Thu, Mar 19, 2015 at 9:01 AM, Miklos Vajna <[email protected]> wrote:
> Hi Justin,
>
> On Thu, Mar 19, 2015 at 04:32:35PM +0300, Justin Luth <[email protected]> 
> wrote:
>> P.S.  I have not been able to figure out how to remove a file from a
>> commit if I add it accidentally.  If I do a "git commit -a" and get an
>> unintended file, how do I amend the commit to "ignore" the file?  (That
>> is what happened here.)
>
> rm <file>, then git commit -a --amend

or

git rm <file>
git commit --amend

Norbert
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to