New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need to fix git tags #360

Closed
cebe opened this Issue Feb 17, 2012 · 5 comments

Comments

Projects
None yet
3 participants
@cebe
Member

cebe commented Feb 17, 2012

as chnax wrote in a forum post you should change git tags so that git describe will work correctly.

Currently I am not sure whats wrong there, will check it.

@cebe

This comment has been minimized.

Show comment
Hide comment
@cebe

cebe Feb 17, 2012

Member

The problem is that svn tag commits are not in master branch.

to fix this you have to do this:

# show all tags
git tag
# for each tag you have to do the following(I use 1.1.9 as an example):
git tag -a -f -m "release 1.1.9" 1.1.9 1.1.9^

this will tag the commit before the svn tag commit 1.1.9 as git tag 1.1.9
the command takes the commit before 1.1.9 because I addded the ^ to the name. details

Member

cebe commented Feb 17, 2012

The problem is that svn tag commits are not in master branch.

to fix this you have to do this:

# show all tags
git tag
# for each tag you have to do the following(I use 1.1.9 as an example):
git tag -a -f -m "release 1.1.9" 1.1.9 1.1.9^

this will tag the commit before the svn tag commit 1.1.9 as git tag 1.1.9
the command takes the commit before 1.1.9 because I addded the ^ to the name. details

@cebe

This comment has been minimized.

Show comment
Hide comment
@cebe

cebe Feb 17, 2012

Member

btw: version tags should be annotated, thats why -a and -m "..." are in the command.

Member

cebe commented Feb 17, 2012

btw: version tags should be annotated, thats why -a and -m "..." are in the command.

@ghost ghost assigned qiangxue Feb 17, 2012

@cebe

This comment has been minimized.

Show comment
Hide comment
@cebe

cebe Feb 20, 2012

Member

btw @qiangxue if you or the other team members have any git related questions, feel free to contact me.

Member

cebe commented Feb 20, 2012

btw @qiangxue if you or the other team members have any git related questions, feel free to contact me.

@mdomba

This comment has been minimized.

Show comment
Hide comment
@mdomba

mdomba Jul 25, 2012

Member

I just fixed the tags and pushed them to github as sugested by @cebe

Member

mdomba commented Jul 25, 2012

I just fixed the tags and pushed them to github as sugested by @cebe

@mdomba mdomba closed this Jul 25, 2012

@cebe

This comment has been minimized.

Show comment
Hide comment
@cebe

cebe Jul 28, 2012

Member

yep, it's all fine now :)

Member

cebe commented Jul 28, 2012

yep, it's all fine now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment