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


On 05/08/2013 04:19 PM, Jorge Luis Roque Alvarez wrote:
Sorry, iam new on git, what command should i run on the core directory to generate the patch.
The attachment patch was generate with the below command

git git-patch -1

is it correct?

No, that produces a patch of something completely unrelated to your changes.

If you have just some local changes to some existing files that you did not yet "git add", the simplest way to produce a patch is just "git diff". However, if you also add new files, you need to "git add" them so that git knows about them when generating diff output, at which point you will want to "git add" /all/ your changes, so that "git diff --cached" shows all of them. In short: you really need to learn more about git.

Stephan

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.