Re: rebase has no --cleanup option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Дилян

On Fri, Mar 24, 2023, at 13:11, Дилян Палаузов wrote:
> Hello,
>
> in rare cases I want to write commit messages with leading # sign

Have you considered changing your `commentchar` to something else that
you never use as a leading character in the message proper? For example
`%`:

    [core]
            commentchar = %

Looks like:

    git: temporary for demonstration

    % Please enter the commit message for your changes. Lines starting
    % with '%' will be ignored, and an empty message aborts the commit.
    %
    % Date:      Fri Mar 24 13:45:28 2023 +0100
    %
    % On branch master
    % Your branch is ahead of '<remote branch>' by 57 commits.
    %   (use "git push" to publish your local commits)
    %
    % Changes to be committed:
    %	modified:   config/.config/git/config
    %
    % Untracked files:
    %	config/.config/git/gitk
    %

That’s at least what I would do if I used leading `#` since it seems
like less trouble than having to change `cleanup`.




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux