<!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"> Hello Arne,
<br>
<br>
I try the 1st step from ifarml1 but does not work for me. I
assume that I am not part of the positron
<br>
group which is consistent with what I see when I issue a
"groups" command and the fact that I dont
<br>
see a directory under my name when I scan the positron
directory.
<br>
Joe, are you taking care of this or whom should I ask to be
added ?
<br>
<br>
Eric
<br>
<br>
Le 01/06/2011 18:37, Arne Freyberger a écrit :
<br>
<blockquote type="cite">Eric and Alex,
<br>
Perhaps this is a distraction, but it might save us from
some headaches once the changes/edits start coming fast a
furious. I created a "git" repository on the Jlab CUE
machine. Everyone in the positron group should have access.
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>
1. git clone
<br>
<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>
1. Outside the firewall, you'll have to set up a
tunnel
<br>
2. this will create a directory called "proposal" in
the
<br>
directory that you executed the command
<br>
2. cd proposal
<br>
3. make changes
<br>
4. git add newfile1.xxx newfile2.xxx
<br>
1. "git add" adds new files to your copy of the
repository
<br>
5. git commit newfile1.xxx -m "new image for the summary
section"
<br>
6. git commit newfile2.xxx -m "another new image"
<br>
1. Use this command to "commit" new files to your
repository
<br>
7. git commit -a -m "updated section 666 to reflect the
actual
<br>
reality"
<br>
1. this will commit all the existing files that have
been
<br>
changed to your repository
<br>
8. git push origin master
<br>
1. This command actual pushes your changes back to
JLAB
<br>
repository
<br>
<br>
Note: 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. So please use git
add and git commit as much as possible. A firewall/network
connect is only needed for steps 1 & 8, so you can make
use of git version control even when not connected to the
network.
<br>
<br>
Working in an existing clone of repository the following
commands might be helpful:
<br>
<br>
1. git pull
<br>
1. will pull in and changes from the JLAB repository
<br>
2. git status
<br>
1. will give you the status of your local repository,
any
<br>
changed or new files, this does not say anything
about
<br>
your files and the repository
<br>
<br>
I hope this is helpful. I'll work on a wiki page...let me
know what does and does not work.
<br>
<br>
Arne
<br>
-- <br>
Arne Freyberger
<br>
Director of Accelerator Operations
<br>
Jefferson Lab Office: (757) 269-6268
<br>
12000 Jefferson Avenue Cell: (757) 876-6289
<br>
Newport News, VA 23606 <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ébastien Ré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>