wiki:GitObtaining
Last modified 20 months ago Last modified on 09/24/11 14:12:17

Obtaining PSI4 using Git

The first thing you need to access the source code is to have your ssh public RSA key known to the source code server. Look for the file $HOME/.ssh/id_rsa.pub (or id_dsa.pub) and send it to Daniel Crawford. He can then add this info to the server. If you don't have this file, run ssh-keygen and accept the defaults to create the needed file.

The PSI4 source is now managed by the git distributed version control system.

To checkout a working copy of the master branch:

git clone git@sirius.chem.vt.edu:psi4

This will make a copy of the PSI4 repository into a new directory named psi4.

To checkout a working copy into a different directory:

git clone git@sirius.chem.vt.edu:psi4 name_of_new_directory

To update your current copy to include the latest revisions:

git pull origin master

In this command origin is a remote identifier that refers to where the repository came from, in this case sirius, master refers to the branch from sirius you want to pull from. Issuing a git pull command will fetch and merge the requested branch into your current branch.