git Repository Sharing with HTTP

Basic directions below for sharing via http (webdav). Understanding of git assumed.

  1. Create a WebDAV share under your group, project, or personal space.
  2. mkdir /afs/csail/PATH/TO/webdav/REPONAME.git
  3. Follow instructions of setup-git-server-over-http.txt starting with Step 3

-- StephenJahl - 13 Jan 2014

git Repository Sharing with SSH

The following assumes you already have a local repo, e.g. that you have run git init; git add .; git commit -m "my commit message"

  1. cd to the top level of your local working tree
  2. git remote add origin username@login.csail.mit.edu:path/to/your/directory
  3. git push origin master

Now you should be able to push/pull using your ssh (i.e., CSAIL kerberos) credentials.
Topic revision: 13 Mar 2014, MarkPearrow
 

MIT Computer Science and Artificial Intelligence Laboratory

 

  • About CSAIL
  • Research
  • News + Events
  • Resources
  • People

This site is powered by Foswiki MIT: Massachusetts Institute of Technology