|
|
Line 1: |
Line 1: |
| Anyone use [http://sourceforge.net/projects/gitextensions/ Git Extensions] for Windows? Supposedly integrates with Windows Explorer. Haven't used it myself, though, but thought I'd mention it for anyone seeking alternatives. --[[User:DaveCoyle|DaveCoyle]] 02:03, 5 August 2009 (UTC) | | Anyone use [http://sourceforge.net/projects/gitextensions/ Git Extensions] for Windows? Supposedly integrates with Windows Explorer. Haven't used it myself, though, but thought I'd mention it for anyone seeking alternatives. --[[User:DaveCoyle|DaveCoyle]] 02:03, 5 August 2009 (UTC) |
− |
| |
− |
| |
− | '''HOW-TO Create GIT# - r# DATESTAMP for OpenSim'''
| |
− |
| |
− | This creates the bin/.version file which contains a sting tlike this: fe4f312 - r10694 2009-09-13 07:28:08 -0400
| |
− |
| |
− |
| |
− | '''''WINDOWS:'''''
| |
− |
| |
− | CREATE a BATCH File called '''GIT_ver.bat '''on your desktop.
| |
− |
| |
− | COPY the contents as shown below into it and save the file.
| |
− |
| |
− | INSTRUCTIONS are explained in the batch file. You will have to create a text file '''"revtag.sh"''' and insert the command line as shown in the header of the batchfile.
| |
− |
| |
− | Good Luck and Enjoy have your GIT# & R# displayed in your OpenSim Server & Client
| |
− | <blockquote>
| |
− | @echo off<br>::<br>:: FILENAME: GIT_Ver.bat<br>:: AUTHOR: WhiteStar Magic @ OSGrid<br>:: DATE: September.13.2009<br>:: REVISION: 0.1 (initial release)<br>::<br>:: DESCRIPTION: <br>:: - GENERATES Git# & Revision Stamp for Opensim.<br>:: - creates the .version file in the /bin directory<br>:: <br>::<br>:: INSTALLATION:<br>:: - place this on your desktop for easy access<br>:: - ensure that you have the CORRECT LOCATION defined in the OS_GIT_REPO vaiable below.<br>:: !!! Example Structure as I use it. <br>:: C:\OpenSim_GIT <--- Top Directory where the SH file is created<br>:: C:\OpenSim_GIT\bin <--- where the bin directory is located<br>:: !!! This must run from the ONE directory above where \bin is located !!!<br>:: - CREATE A TEXT FILE called revtag.sh in your OS_GIT_REPO<br>:: -- Place this following line EXACTLY into it.<br>:: echo `git show-ref --tags | tail -1 | sed -e 's,^\(.......\).*/,\1 - r,'` `git log -n 1 --pretty='format:%ci'` > bin/.version <br>::<br>:: DEPENDENCIES:<br>:: - Installation of GIT TOOLS Windows Installation as per http://opensimulator.org/wiki/Using_Git<br>:: !! I installed these two packages as recomended and used the default installations for them<br>:: - http://msysgit.googlecode.com/files/Git-1.6.4-preview20090730.exe<br>:: - http://code.google.com/p/tortoisegit/<br>::<br>:: ==== SET YOUR GIT REPO HERE ====<br>set OS_GIT_REPO=c:\OpenSim_GIT<br>:: ================================<br>:: Appending Path to access all binaries used by GIT<br>::<br>PATH = C:\Program Files\Git\bin;%PATH%; <br>echo %PATH%<br>::<br>@echo on<br>cd %OS_GIT_REPO%<br>::<br>sh.exe revtag.sh
| |
− | </blockquote>
| |
Revision as of 08:52, 17 September 2009
Anyone use Git Extensions for Windows? Supposedly integrates with Windows Explorer. Haven't used it myself, though, but thought I'd mention it for anyone seeking alternatives. --DaveCoyle 02:03, 5 August 2009 (UTC)