Access to the project for an off-site user¶
cloning the repository¶
Make sure you have Kerberos credentials.
git clone ssh://email@example.com/cvs/projects/g4emreview [<local-top-level-name>]
This will put a copy of the g4emreview repository in your current area, with the top-level directory named
g4emreview if not otherwise specified.
- access the repository through http if the project is public
git clone http://cdcvs.fnal.gov/projects/g4emreviewwhich allows to commit things to the local git repository, but cannot push any update to the remote
- get a service account at Fermilab https://fermi.service-now.com/kb_view.do?sysparm_article=KB0010788
- add the user as one of developers of the private project
- use /usr/local/bin/ssh-add-redmine to grant the write access to the user
ssh-add-redmine <user>:<pubkeyfile> <project>+