Hello Team,
Our Java project is in sourcetree and we tagged multiple times during the development phase. We are still working on it. Now my question is how can i get the code base based on a specific tagged version without impacting the present codebase.
I want to get the tagged version to some other location.
Could you please assist me by providing the steps to perform.
Thanks,
Sibaram
You need to create another clone either by copying the firs clone to a different folder or cloning the repository from the server to a new folder. Afterwards, you can check out the tag the same way you would check out a branch.
I am not getting the solution correctly. Could you please help me by mentioning in steps. I am using Sourcetree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In SourceTree, click "Clone/New". For the SourcePath, use the same remote as your existing repo, but choose a new local folder. This will give you a second repository on your machine. You can keep the first as the "present codebase", and use the second to check out old tags.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want a single use copy of the tagged version of code, rather than a full-featured repository, try the git archive command: http://git-scm.com/docs/git-archive
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.