Compare between two tags in bitbucket on script

Lena Levy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 8, 2018

Hi

I have use the following commands in my script to compare between tags in Bitbucket

git init
git clone ssh://git@bitbucket-us:XXXX/bitbucket/digoc/$1.git
cd $1
pwd
git log --no-merges --name-only --oneline --pretty=format:"author: %cn; date: %ci; comment:%s" TAG1..TAG2 |& tee ~/release_notes.txt

I'm getting the result , but not as expected

I have TAG two commits from same date . But on the result I'm getting also the commits from dates before ...

Can somebody explain me how I can get only the diff between the TAGS

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events