views:

79

answers:

1

My application needs to conform to a new specification.

So I want to tag a version of my app as it stands. I want to be able to check out this version in the future.

I committed all my latest changes.

And I do:

git tag -a stable-pre-new-spec

When I execute:

git show stable-pre-new-spec

it displays the diffs from my last commit ?! I don't exactly understand what is going on.

Should I be creating a branch instead ?

A: 

I'd use a branch in your case:

git checkout -b app_in_current_state

You'll then be able to continue developing on master, while bugfixing on your current state in the branch.

Mr. Matt