<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    This is the tunnel command to access the repository from outside
    Jlab.<br>
    <br>
    This will create the directory proposal assuming you have git on
    your local computer:<br>
    <br>
    ssh -N -f -L 3322:ifarml1.jlab.org:22 login.jlab.org<br>
    git clone
    <a class="moz-txt-link-freetext" href="ssh://localhost:3322/u/group/positron/repository/proposal.git">ssh://localhost:3322/u/group/positron/repository/proposal.git</a><br>
    <br>
    Jean-sebastien<br>
    <br>
    On 10/06/11 15:12, Arne Freyberger wrote:
    <blockquote cite="mid:4DF21850.3040108@jlab.org" type="cite">eric,
      <br>
      try it now, I've made it wide open in terms of permissions, we can
      tighten it down later once we work through the issues.
      <br>
      Arne
      <br>
      <br>
      On 06/10/2011 09:01 AM, Eric Voutier wrote:
      <br>
      <blockquote type="cite">&nbsp; Hello Arne,
        <br>
        <br>
        &nbsp; I try the 1st step from ifarml1 but does not work for me. I
        assume that I am not part of the positron
        <br>
        &nbsp; group which is consistent with what I see when I issue a
        "groups" command and the fact that I dont
        <br>
        &nbsp; see a directory under my name when I scan the positron
        directory.
        <br>
        &nbsp; Joe, are you taking care of this or whom should I ask to be
        added ?
        <br>
        <br>
        &nbsp;&nbsp; Eric
        <br>
        <br>
        Le 01/06/2011 18:37, Arne Freyberger a &eacute;crit :
        <br>
        <blockquote type="cite">Eric and Alex,
          <br>
          &nbsp;&nbsp;&nbsp; Perhaps this is a distraction, but it might save us from
          some headaches once the&nbsp; changes/edits start coming fast a
          furious.&nbsp; I created a "git" repository on the Jlab CUE
          machine.&nbsp; Everyone in the positron group should have access.&nbsp;
          Git is available for Linux/MacOS/Windows so everyone should be
          able to work with this.
          <br>
          <br>
          Here is how to get latest version of the proposal (assuming
          linux command prompt):
          <br>
          <br>
          &nbsp;&nbsp; 1. git clone
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <a class="moz-txt-link-freetext" href="ssh://username@ifarml1/u/group/positron/repository/proposal.git">ssh://username@ifarml1/u/group/positron/repository/proposal.git</a>
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Outside the firewall, you'll have to set up a
          tunnel
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2. this will create a directory called "proposal" in
          the
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; directory that you executed the command
          <br>
          &nbsp;&nbsp; 2. cd proposal
          <br>
          &nbsp;&nbsp; 3. make changes
          <br>
          &nbsp;&nbsp; 4. git add newfile1.xxx newfile2.xxx
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. "git add" adds new files to&nbsp; your copy of the
          repository
          <br>
          &nbsp;&nbsp; 5. git commit&nbsp; newfile1.xxx -m "new image for the summary
          section"
          <br>
          &nbsp;&nbsp; 6. git commit&nbsp; newfile2.xxx -m "another new image"
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. Use this command&nbsp; to "commit" new files to your
          repository
          <br>
          &nbsp;&nbsp; 7. git commit -a -m "updated section 666 to reflect the
          actual
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reality"
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. this will commit all the existing files that have
          been
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; changed to your repository
          <br>
          &nbsp;&nbsp; 8. git push origin master
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. This command actual pushes your changes back to
          JLAB
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; repository
          <br>
          <br>
          Note:&nbsp;&nbsp; git's strength is that everyone gets there own local
          copy and all "git add" and "git commit" are held locally until
          the user is ready to share his/her work.&nbsp; So please use git
          add and git commit&nbsp; as much as possible.&nbsp;&nbsp; A firewall/network
          connect is only needed for steps 1 &amp; 8,&nbsp;&nbsp; so you can make
          use of git version control even when not connected to the
          network.
          <br>
          <br>
          &nbsp;&nbsp;&nbsp; Working in an existing clone of repository the following
          commands might be helpful:
          <br>
          <br>
          &nbsp;&nbsp; 1. git pull
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. will pull in and changes from the JLAB repository
          <br>
          &nbsp;&nbsp; 2. git status
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1. will give you the status of your local repository,
          any
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; changed or new files, this does not say anything
          about
          <br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; your files and the repository
          <br>
          <br>
          I hope this is helpful.&nbsp; I'll work on a wiki page...let me
          know what does and does not work.
          <br>
          <br>
          Arne
          <br>
          --&nbsp;<br>
          Arne Freyberger
          <br>
          Director of Accelerator Operations
          <br>
          Jefferson Lab&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Office: (757) 269-6268
          <br>
          12000 Jefferson Avenue&nbsp; Cell:&nbsp;&nbsp; (757) 876-6289
          <br>
          Newport News, VA 23606&nbsp; <a class="moz-txt-link-abbreviated" href="mailto:Email:freyberg@jlab.org">Email:freyberg@jlab.org</a>
          <br>
          <br>
          <br>
          _______________________________________________
          <br>
          PEPPo mailing list
          <br>
          <a class="moz-txt-link-abbreviated" href="mailto:PEPPo@jlab.org">PEPPo@jlab.org</a>
          <br>
          <a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/peppo">https://mailman.jlab.org/mailman/listinfo/peppo</a>
          <br>
        </blockquote>
        <br>
        <br>
        _______________________________________________
        <br>
        PEPPo mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:PEPPo@jlab.org">PEPPo@jlab.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/peppo">https://mailman.jlab.org/mailman/listinfo/peppo</a>
        <br>
      </blockquote>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
PEPPo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PEPPo@jlab.org">PEPPo@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/peppo">https://mailman.jlab.org/mailman/listinfo/peppo</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Jean-S&eacute;bastien R&eacute;al
Laboratoire de Physique Subatomique et de Cosmologie de Grenoble
53 avenue des martyrs, 38026 GRENOBLE cedex, France
tel: (33)(0)4.76.28.41.75, fax: (33)(0)4.76.28.40.04
<a class="moz-txt-link-freetext" href="http://lpsc.in2p3.fr/hadrons/hadrons.html">http://lpsc.in2p3.fr/hadrons/hadrons.html</a>
</pre>
  </body>
</html>