I don’t know exactly what is the term for that but i will tell you what i want.
Suppose i am writing the website and i have uploaded the most basic code on the bitbucket.
Now i am going to make continuous changes in the code but i want to separate the repository into sections so that i can clone any version.
Like suppose i can make the branch 1 as Sample App without database then after one months of commit, I want to have another branch called Sample app with database added and son on.
So that i can always clone any of those branches. new branches will have some new files , codes images etc.
It seems to me that you’re looking for tags.
You can apply a tag to a commit to be able to find it more easily later. It’s generally used to mark releases, among other things. The current revision is tagged with the tag
v1.2.3like this:You can also apply tags to old revisions like this:
where
9fceb02is the checksum/revision of the commit. Tags must be pushed with an explicit command:Later, you can checkout the tag in your workspace like this: