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

Compare between two tags in bitbucket on script

Lena Levy January 31, 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 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events