meaulnes
meaulnes

Reputation: 383

How to make project snapshots in android-studio

I am new to Android Studio and to Android Development as well. I am presently using version 1.3.1.

My question is how to efficiently make project "snapshots". - I am not absolutely sure the term of "snapshot" is good hence the quotes.

What I mean is to save the project as is at the moment and be able to make heavy changes without fearing to destroy what is already working well and also to be able to restart from this "snapshot" if it happens that the changes made break the project.

In other terms, how can I manage versions?

Upvotes: 1

Views: 748

Answers (2)

Ed Holloway-George
Ed Holloway-George

Reputation: 5149

This can be achieved using a version control program such as git or svn, although git tends to be the industry standard tool.

You can follow a very simple online tutorial to get started quickly with the basics behind git. There are also a number of other excellent resources such as the git guide by Tower and the git book.

In regards to versioning, you can use git tag to tag specific versions (see docs)

#Create a new tag
git tag -a v1.0 -m 'Version 1.0'

#Create a new working branch 'version_2_dev' from v1.0
git checkout -b version_2_dev v1.0

Upvotes: 1

Anilkumar
Anilkumar

Reputation: 171

You need to add the version control plug-ins like bitbucket, svn and git.

Upvotes: 0

Related Questions