Can we filter out commit logs based on date/time?

Avni Maharana February 10, 2021

Can we filter out commit logs based on date/time?
=> So that we'll get to know on which date what changes has done before.

1 answer

1 accepted

0 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 10, 2021

Hi @Avni Maharana and welcome to the community.

You can do this with the command git log in a local clone of the repo. With git log you can use the options --after and --before to filter commits newer or older than a certain date.

Is this what you've been looking for? Or were you looking for something different, e.g. filtering commits in the UI, or when you retrieve them via API?

Kind regards,
Theodora

Avni Maharana February 10, 2021

Thank you so much @Theodora Boudale 

Like Theodora Boudale likes this
mehov February 15, 2021

@Theodora Boudale thank you, I was looking for a way to filter the Bitbucket commits by date, but doing it inside actual git is a much better, reasonable and provider-independent way

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events