Talk:Using Git

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Not working with my login?)
(4 intermediate revisions by 3 users not shown)
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)
  
 +
== Not working with my login? ==
  
'''HOW-TO Create GIT# - r# DATESTAMP for OpenSim'''
+
I'm trying an initial git clone (want to try and compile with bulletsim) - but can't login with windows git. Keeps asking for the password and then  invallidating the password - problem?
  
This creates the bin/.version file which contains a sting tlike this:  fe4f312 - r10694 2009-09-13 07:28:08 -0400
+
Ray
  
 +
: I think you are using the methid for core developers. Look under [[Using_Git#Cloning_the_Repositry_.28for_Non_Core_Developers.29]], this should work without asking for a password.
 +
: --[[User:Fritigern|Fritigern]] 10:35, 10 August 2011 (UTC)
  
'''''WINDOWS:'''''
+
Almost - I was using the non-core, but I hadn't noticed the copy-paste had changed the "git://" header to "ssh://" - changed this back and now pulling ok.
  
CREATE a BATCH File called '''GIT_ver.bat '''on your desktop. 
+
: I do think that this article could do with a good rewrite to restructure it, so that stuff for non-developers are grouped together, and the stuff for developers are grouped together.
 
+
: I will look into this.
COPY the contents as shown below into it and save the file.
+
: --[[User:Fritigern|Fritigern]] 18:07, 11 August 2011 (UTC)
 
+
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# &amp; 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 &lt;--- Top Directory where the SH file is created<br>:: C:\OpenSim_GIT\bin &lt;--- 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'` &gt; 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 11:07, 11 August 2011

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)

Not working with my login?

I'm trying an initial git clone (want to try and compile with bulletsim) - but can't login with windows git. Keeps asking for the password and then invallidating the password - problem?

Ray

I think you are using the methid for core developers. Look under Using_Git#Cloning_the_Repositry_.28for_Non_Core_Developers.29, this should work without asking for a password.
--Fritigern 10:35, 10 August 2011 (UTC)

Almost - I was using the non-core, but I hadn't noticed the copy-paste had changed the "git://" header to "ssh://" - changed this back and now pulling ok.

I do think that this article could do with a good rewrite to restructure it, so that stuff for non-developers are grouped together, and the stuff for developers are grouped together.
I will look into this.
--Fritigern 18:07, 11 August 2011 (UTC)
Personal tools
General
About This Wiki