Ask Your Question

Revision history [back]

Track a sage worksheet in git

I would like to track the changes to a sage worksheet in git so I can collaborate with github/bitbucket with a group who typically does not have access to a centralized machine. Right now I have been copying the sage .sws files to the repository for each version, but they are binary so much of the utility of version control is lost (the comments, feature tracking, etc still work)

I suggest a split between text/code and binary data and maybe having 2 files per worksheet instead of 1. I have already played with uncompressing the sws and version tracking the worksheet.html, but that doesn't integrate as nicely into a workflow.

click to hide/show revision 2
retagged

Track a sage worksheet in git

I would like to track the changes to a sage worksheet in git so I can collaborate with github/bitbucket with a group who typically does not have access to a centralized machine. Right now I have been copying the sage .sws files to the repository for each version, but they are binary so much of the utility of version control is lost (the comments, feature tracking, etc still work)

I suggest a split between text/code and binary data and maybe having 2 files per worksheet instead of 1. I have already played with uncompressing the sws and version tracking the worksheet.html, but that doesn't integrate as nicely into a workflow.