@@ -557,54 +557,56 @@ retrieves from the registry.
557
557
--user string override the user reported as initiating the update
558
558
` ` `
559
559
560
- Commit customization
560
+ # ## Commit customization
561
561
562
- ` ` ` text
563
562
1. Commit message
564
563
565
- fluxctl --message="Message providing more context for the action" .....
564
+ ` ` ` console
565
+ fluxctl --message="Message providing more context for the action" .....
566
+ ` ` `
566
567
567
- 2 . Committer
568
+ 1 . Committer
568
569
569
570
Committer information can be overriden with the appropriate fluxd flags :
570
571
572
+ ` ` ` console
571
573
--git-user
572
574
--git-email
575
+ ` ` `
573
576
574
- See [docs/features/ daemon.md] for more information.
577
+ See [daemon.md](daemon.md) for more information.
575
578
576
- 3 . Commit author
579
+ 1 . Commit author
577
580
578
581
The default for the author is the committer information, which can be overriden,
579
582
in the following manner :
580
583
581
- a) Default override uses user's git configuration, ie user.name
582
- and user.email (.gitconfig) to set the commit author.
584
+ a) Default override uses user's git configuration, ie ` user.name`
585
+ and ` user.email` (.gitconfig) to set the commit author.
583
586
If the user has neither user.name nor for
584
587
user.email set up, the committer information will be used. If only one
585
588
is set up, that will be used.
586
589
587
- b) This can be further overriden by the use of the fluxctl --user flag.
590
+ b) This can be further overriden by the use of the ` fluxctl --user` flag.
588
591
589
- Examples
592
+ # ### Examples
590
593
591
- a) fluxctl --user="Jane Doe <jane@doe.com>" ......
592
- This will always succeed as git expects a new author in the format
593
- "some_string <some_other_string>".
594
+ 1. ` fluxctl --user="Jane Doe <jane@doe.com>" ......`
595
+ This will always succeed as git expects a new author in the format
596
+ " some_string <some_other_string>" .
594
597
595
- b) fluxctl --user="Jane Doe" .......
596
- This form will succeed if there is already a repo commit, done by
597
- Jane Doe.
598
+ 1. ` fluxctl --user="Jane Doe" .......`
599
+ This form will succeed if there is already a repo commit, done by
600
+ Jane Doe.
598
601
599
- c) fluxctl --user="jane@doe.com" .......
600
- This form will succeed if there is already a repo commit, done by
601
- jane@doe.com.
602
- ` ` `
602
+ 1. `fluxctl --user="jane@doe.com" .......`
603
+ This form will succeed if there is already a repo commit, done by
604
+ jane@doe.com.
603
605
604
606
# ## Errors due to author customization
605
607
606
608
In case of no prior commit by the specified author, an error will be reported
607
- for b ) and c ) :
609
+ for 2 ) and 3 ) :
608
610
609
611
` ` ` sh
610
612
git commit: fatal: --author 'unknown' is not 'Name <email>' and matches
0 commit comments