I have tagged my repository with the tag "Release_V1.0.0.4". But here is what I got from "git describe" and "git describe origin".
[root pds_series]# git describe
Release_V1.0.0.2-22-g0859de9
[root pds_series]# git describe origin
Release_V1.0.0.2-18-gce2b24c
With "git describe --all" and "git describe --tags" I got the right tag.
[root pds_series]# git describe --all
tags/Release_v1.0.0.4
[root pds_series]# git describe --tags
Release_v1.0.0.4
Also, with following command I got the right tag.
[root pds_series]# git log --pretty=format:'%ad %h %d' --abbrev-commit --date=short -1
2012-11-15 0859de9 (HEAD, Release_v1.0.0.4, master)
Do anyone know the reason behind this ? How can I resolve this issue ?