Autor: Edward Bartolo Data: Dla: dng Temat: Re: [DNG] Avoid 'git commit -m ...' every time code is tested after
editing.
Hi,
Do not reply to this: I used --git-ignore-changes. It works as I need it.
Edward
On 15/02/2016, Edward Bartolo <edbarx@???> wrote: > Hi,
>
> I need to avoid having to "git commit -m ..." every time I add/modify
> code. I need to 'git buildpackage' without committing changes. The
> reason is to make sure new code works before committing. This also
> makes commits more meaningful.
>
> So, in short, I need this:
>
> 1) edit / modify code
> 2) build package to test whether the new code additions/edits work as
> intended
>
> Since I am using git, I think, I also must avoid using
> 'dpkg-buildpackage' but have to use 'git buildpackage' instead.
>
> How can I 'git buildpackage' without committing code additions/edits
> through 'git commit -m ..."?
>
> Please note, that the last question does NOT mean I want to discard
> the changes but I want to test the code additions/edits without
> actually having to 'git commit -m ...'.
>
> Edward
>