Adding a Code Ocean capsule as a remote to an existing git repository

For integrating Code Ocean into your local development process

Written by Shahar Zaks Updated over a week ago

Background:

This article assumes that you have a git repo on your computer and that you are reasonably comfortable with Git commands. If you are just getting started with git, you can follow along by forking and then cloning a public GitHub repo, such as https://github.com/setgree/ACT_score_analysis (some basic R scripts I wrote a few years ago).

Fourth, navigate to your local git repo on your computer, run git init if you have not already, and add the copied link as a remote (here the remote is called co ):git remote add co https://git.codeocean.com/capsule-3518220.git