Answer the question
In order to leave comments, you need to log in
GitHub.com - how to pull Releases/Tags without losing commit history?
Good time of the day! In general, I have a problem, there are 2 versions of the project on GitHub , the first version of the application supports iOS 6, the second only iOS 7. On the 6th version, it was already the case, they scored a little, and did not support it, in the master branch - the version of the application is already only from 7th. The old version has been uploaded to GitHub as Releases/Tags .
Actually, the question is: how can Releases / Tags be pulled from GitHub so that the commits remain?
Answer the question
In order to leave comments, you need to log in
Releases/Tags are just tags. If you want to pull tags (and the history leading to them) from a remote repository to a local one, you can do it like this:
git remote add remote_tags <url>
git fetch --tags remote_tags
git remote del remote_tags
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question