Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit Author #100

Closed
corentin-wedge opened this issue Jul 13, 2022 · 2 comments
Closed

Commit Author #100

corentin-wedge opened this issue Jul 13, 2022 · 2 comments
Assignees
Labels
feature/request New feature or request

Comments

@corentin-wedge
Copy link

Hi,

I tried to find a way to add the author of the commit in my changelog, but i guess it's not implemented yet.
I have found no issues about it atm thats why i'm opening this one.

@orhun
Copy link
Owner

orhun commented Aug 15, 2022

Hey! I implemented this in 940065b 🐻 it can be used as follows:

{{ commit.author.name }} <{{ commit.author.email }}> {{ commit.author.timestamp | date(format="%Y-%m-%d") }}
{{ commit.committer.name }} <{{ commit.committer.email }}> {{ commit.committer.timestamp | date(format="%Y-%m-%d") }}

For the difference between committer and author, check this out: https://www.codependentcodr.com/git-tip-of-the-day-committer-vs-author.html

@orhun orhun changed the title Commit Auhtor Commit Author Aug 15, 2022
@corentin-wedge
Copy link
Author

Thanks, working as i expected 🔥

netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Sep 21, 2022
For pin@

## [0.9.0] - 2022-08-16

### Documentation

- Add test repository link to README.md

### Features

- Support splitting commits by lines ([#101](orhun/git-cliff#101))
- Support setting commit SHA while using `--with-commit`
- Add commit author and committer to the context ([#100](orhun/git-cliff#100))

### Miscellaneous Tasks

- Use an alternative method to fetch registry
- Enable building arm64 docker images
- Update the description on Docker Hub on push
- Disable updating the description on Docker Hub
- Add GitHub Sponsors option for funding
- Upgrade dependencies
- Update MSRV to 1.60.0
- Upgrade versions in Dockerfile
- Enable strip option for release profile

### Refactor

- Run clippy for tests
- Use a more concise conversion for string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants