GitHub CoCalc usage #6548
Replies: 3 comments 10 replies
-
I typically clone all of my repositories into Note: you have to be a bit careful when using If you will just use a terminal from the web interface, then you can define these variables in the terminal startup file (see https://doc.cocalc.com/terminal.html#startup-files for details.) Details about what I actually do.What I actually do is the following:
This installs a few tools I use (with Note: this is not an officially supported approach, but I use it daily and am reasonably happy with it. |
Beta Was this translation helpful? Give feedback.
-
I have a very different understanding of this question than @mforbes. I think he's answering a pretty complicated question about how to host a git repo on CoCalc itself. I suspect you're just asking about taking a repo from GitHub and storing a copy of that repo in CoCalc, then pushing/pull to/from GitHub. To do that, just open a terminal via +New --> Terminal and use 100% the standard git commands. There's nothing special at all about CoCalc compared to using Git (and GitHub) from any other Linux server, except be sure to setup your .gitconfig file with your email address (use For example: |
Beta Was this translation helpful? Give feedback.
-
Thank you @williamstein for your comment. This answers my inquiry |
Beta Was this translation helpful? Give feedback.
-
This may not be completely a CoCalc question, but here it is...
Can I use GitHub and CoCalc to clone and/or fork a repo to a folder in my CoCalc project? I don't want my whole CoCalc project stored/synced with GitHub. I want the GitHub repo to live in a folder in my CoCalc project.
Beta Was this translation helpful? Give feedback.
All reactions