Git and Code Ocean: Better Together
Git is the defacto standard for version control, already used widely amongst researchers, making it a necessary tool to add to the Code Ocean workflow. After a first release earlier this year, we have expanded this capability providing a solid method of version control to record a history of all the changes within a compute capsule over the life of a project.
You now can:
- Commit changes directly from the platform
- See the list of files changed when viewing a commit
- Open the diff viewer to see more details about a commit
- See which commit the results were generated from when viewing your timeline
- Import repositories from other Git hosting sites
- Clone your repository so you can work locally in another Git-enabled environment and push those changes back to Code Ocean when you are ready
- Perform Git commands within Cloud Workstation just as you would on your local machine
This is a huge step forward in our efforts to create a more robust toolkit to enhance versioning, collaboration, and portability of computational code from the beginning of a research project through its completion. To learn more about our latest Git update, visit our Knowledgebase that has in-depth tutorials on how to make the most out of our new features.