Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
title.ssh/config
/afs/slac/g/cd/swe/git/repos/slac/FACET/facet2-lattice.git

To synchronize the AFS repo with the github repo, do the following:

Code Block
languagebash
title.ssh/config
$git remote add lucretia_afs git@/afs/slac/g/cd/swe/git/repos/slac/FACET/Lucretia.git

$git remote -v

origin	/afs/slac/g/cd/swe/git/repos/slac/FACET/Lucretia.git/ (fetch)
origin	/afs/slac/g/cd/swe/git/repos/slac/FACET/Lucretia.git/ (push)

and then push your changes.

You will have to toggle the remote repos to keep both github and AFS synched, but this shouldn't need to happen too often for Lucretia and facet2-lattice.

Cron job for synchronizing MatlabTNG

...