You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more
I'm a bit new to Git & can not suss how to do this.
I have an existing repo on Github:
say https://github.com/foo-bar/oldone.git
This repo has a tag MY_FIRST_TAG plus other tags & branches
I want to check out this tag MY_FIRST_TAG on to my local PC in a new repository say https://github.com/foo-bar/newone.git
But I do not want any of the other tags & branches.
Any ideas please ?
as is always the case.
you look for ages
ask the question & then suss it out
git - cloning
# copy branch to NEW_REP
git push https://github.com/foo-bar/NEW_REP.git +BRANCH_NAME:master
# checkout the NEW_REP
git clone https://github.com/foo-bar/NEW_REP.git