N
N
nepster-web2015-02-19 23:11:29
git
nepster-web, 2015-02-19 23:11:29

How to organize git versioning?

I noticed libraries, when installing which you need to specify the version, for example:
https://github.com/cebe/markdown
Pay attention to:
composer require cebe/markdown "~1.0.1"
Earlier I thought that 1 version = 1 branch. However, if you look at the branches that this library has, you can see that there is no 1.0 branch.
Please tell me how to implement such a versioning using git for easy installation via composer?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Benkovsky, 2015-02-19
@nepster-web

it's called TAGS. info in google sea
UPD. I will add that there are VERY many more useful things in the git, so do not be too lazy to spend 5 hours reading off-line documentation - very easy to read

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question