ameer1234567890 / OnlineNandroid

Nandroid Backup without Reboot
Other
117 stars 46 forks source link

Would be good to add TAGs to commit :-) #11

Closed pommedeterresautee closed 11 years ago

pommedeterresautee commented 11 years ago

Hi Ameer,

I noticed you are not using TAG in your GIT commit.

It may be useful to navigate to a previous version of the script as I am doing right now :-)

Regards

ameer1234567890 commented 11 years ago

Can you explain about it a little more? I am not much aware about it.

pommedeterresautee commented 11 years ago

A tag is a specific name you give to a GIT commit.

In Guthub, you can see it in the Branch selector. There you can choose a branch, or a TAG.

The use case, is when you release you tag the commit. In the TAG selector you will see it.

So if you want to see how was your deposit at the time you released the version X, you are not loosed anymore in tons of commits. You just go in TAGs tab and select the version of the script. It is a very good practice to have, even if according to your commits you only commits final files.

Regards

ameer1234567890 commented 11 years ago

Since I am only committing final versions, how is it useful?

pommedeterresautee commented 11 years ago

It removes the patch files add, but you are right, I found what I was looking for very easily. It is obviously the most needed thing, but it may help in some situation.

More important, if you decide to use GIT for your alpha / beta step as I do, you will need it.

Regards