Reputation: 1776
i have local repository, which has two version:
$git tag
v1.0.0
v1.0.4
in v.0.0 is only initial reposity, with two files:
aa.txt
- content:
it's my first file
bb.txt
- content:
it's my second file
$git commit -m 'first commit'
$git push
(...)
next time i added new file, names: cc.txt
, which has content:
it's file for next version
$git commit -m 'next commit'
$git push
(...)
now i want to get pull, but not latest version, only version: v1.0.0
what's way?
Upvotes: 0
Views: 53
Reputation: 20909
just use the tag name:
git checkout v1.0.0
see the manual for checkout command
Upvotes: 1
Reputation: 1776
One way is on webside:
click the selected button:
select tags, select your interested tag/version
and the next step's to Download.zip
Upvotes: 0