On Mar 16, 2010, at 7:44 AM, Parag Kalra wrote: > > Just couple of questions - How can I make my code readonly using Git such > that it can be edited only when it is checked out.
If your code is 'readonly' then you cannot edit it. You cannot write to something that is read only. > > Also if I want to take entire code base to particular revision, I guess I > need to use - 'git checkout <commit_name>'. So is commit name something like > - '11666c32ad1008a88a603d7ebc5cea144495789e' That is a SHA1 sum that is connected to your commit. You can tag your code with an arbitrary tag like 0.1 if you want to. Google for the "Git Community Book", you'll find lots of helpful info there. Jeremiah -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/