:: Re: [DNG] Avoid 'git commit -m ...'…
Kezdőlap
Delete this message
Reply to this message
Szerző: aitor_czr
Dátum:  
Címzett: Steve Litt, dng
Tárgy: Re: [DNG] Avoid 'git commit -m ...' every time code is tested, after editing.
Hi Steve,

On 02/16/2016 07:47 AM, dng-request@??? wrote:
> When a version is a release, don't you just give it a tag?
>
> SteveT


Yes, but you can also give a tag to a concrete commit[*], for example:

$ git tag -a 0.1.1-9928033

You can recover it checking out the tag:

$ git checkout 0.1.1-9928033

But after doing that, you must create a branch, because in this status
you will have a disconnected HEAD and you will lose your changes.

Cheers,

Aitor.

[*] Somebody will consider it a bit bizarre.
<https://git.devuan.org/net/simple-netaid/commit/9928033140a3c31e11a301b045e6e8ef08f8999f>