Software for the Time Domain Spectroscopic Survey
TDSS github instructions:
There is a good help page at: https://confluence.atlassian.com/display/STASH/Basic+Git+commands
-
Get a github account at: https://github.com/
-
The TDSS repository is at: https://github.com/ericmorganson/TDSS You can get the “ssh clone URL” in the lower right hand corner
-
To actually get the repository, go to your unix directory where you want the repository and type: git clone git@github.com:ericmorganson/TDSS.git Where git@github.com:ericmorganson/TDSS.git is the “ssh clone URL”
-
Get the most recent update of the repository (not necessary immediately after the clone, but you should probably do it before you add or modify stuff) git pull
-
Add a directory/file to repository:
cd TDSS mkdir morganson cp /a42185d1/morganson/LSD/ps1_new/python/make_lc.py morganson/.
git add morganson/make_lc.py
Commit the file to your local repository (this is just local, you are not uploading anything) with a message ( -m )
git commit -m "adding morganson directory and a light curve maker"
git push
- The last two lines also work when you modify a file. This time I added a filename in git commit so that it only added that filename. git commit morganson/make_lc.py -m "Added user wrapper to improve commandline ease." git push