Sean Hennessee wrote: > In my automated update script I use an svn info command to cull the > current release number to use as it's folder name when getting the > latest release like this: > > $ REV=`svn info http://opensimulator.org/svn/opensim/trunk | fgrep > Revision | awk '{print $2}'` > $ svn -r $REV co http://opensimulator.org/svn/opensim/trunk $REV > > With the specific svn command used being: > $ svn info http://opensimulator.org/svn/opensim/trunk > Is there an equivalent way to get the current release number from git? > Or any way to get the current/trunk release number?
There isn't an equivalent monotonically increasing number in git as there is in svn. If you want to update to the latest and greatest just "git pull" which will do it. http://learn.github.com/ also has lots of good info. -Sean -- __________________________________________________________________ Sean Dague Mid-Hudson Valley [email protected] Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Opensim-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-dev
