Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi Justin,

On Thu, Mar 19, 2015 at 04:32:35PM +0300, Justin Luth <justin_luth@sil.org> 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

Regards,

Miklos

Attachment: signature.asc
Description: Digital signature


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.