Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do you get an export format file from Get Log or is there a better tool for a cleaner look?

Kyleigh Philbrook April 6, 2022

We want a simple list of date and topic..

1 answer

1 accepted

0 votes
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 7, 2022

Hello @Kyleigh Philbrook ,

Thank you for reaching out to Atlassian Community.

From your description it was not clear what Get Logs you are referring about. Could you give us more context of your request and also clarify if "Get Log" is an API call or an option you see in the Bitbucket UI ?

Thank you, @Kyleigh Philbrook

Kind regards,

Patrik S.

Kyleigh Philbrook April 12, 2022

It is a command line function that is standard with Bit Bucket. 

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 12, 2022

Hello @Kyleigh Philbrook ,

I think you might be referring to "git log" command. If that is the case, you can use the command below to export  the list of commits containing just the date and commit messages  :

git log --pretty=format:"%ad%x09%s" > destination_file.txt

 

Where :

%ad = author date
%x09 = tab
%s = subject

Please let me know if this is what you were looking for.

In case you are referring to a different command, could you please provide us an example of the command you are executing ?

Thank you, @Kyleigh Philbrook .

Kind regards,

Patrik S

Kyleigh Philbrook April 12, 2022

Yes, sorry it's been a long Monday/Tuesday. It worked, thank you much! :)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events