Tuesday, 15 July 2014

bash - Why does my git log fail when using a shell variable for the branch name? -



bash - Why does my git log fail when using a shell variable for the branch name? -

i'm trying see difference between 2 tags, when hard code tag names in, works fine. when utilize tags shell variables, error.

fatal: ambiguous argument 'version-02.06.13.115..version-2.06.13.114': unknown revision or path not in working tree. this 1 works well git log version-02.06.13.115..version-02.06.13.114 --oneline this 1 gives me error git log "${currentbranchtag}".."${currentapi}" --oneline

2 should 02 in version-2.06.13.114

git bash shell

No comments:

Post a Comment