We've significantly enhanced our GitHub integration to make collaboration even smoother. Originally, we designed it to easily import existing code from your GitHub repository to Deepnote. While pushing changes back to GitHub was possible, it required using the integrated terminal interface in your project, which could be inconvenient. Now, we're excited to introduce a more streamlined process with two-way Github integration!
With our latest update, committing and pushing changes to your cloned repo is as simple as clicking a button. Here's how it works:
- Navigate to your synced GitHub repo in Deepnote.
- Click on the options menu.
- Select Commit & push.
- In the pop-up window, add your commit message and description.
- Push your edits directly to the origin branch.
By removing the need for terminal commands, this update streamlines your version control process.
But wait, there's more! We've added several other powerful Git operations to support your workflow:
- Switch between branches with a simple click on the branch name in the dropdown menu.
- Easily pull the latest changes from the remote repository to keep your local copy current.
- Need a clean slate? You can now re-clone the repository with just one click.
These features work together to provide a comprehensive Git experience right within Deepnote.
Want to see these new capabilities in action? Check out our demo video!
Backing up your notebooks to your GitHub repository is more convenient than ever!
Our enhanced Export to Git feature, found in the Version history tab, now offers two key improvements to streamline your workflow.
First, you can now enable automatic commits for all notebooks in your project. When activated, this option automatically pushes a commit to your GitHub repository whenever an autosave occurs in your project. Since Deepnote autosaves every 10 minutes or after periods of inactivity, this feature ensures your notebooks and GitHub repo can stay in sync without relying on manual commits.
Secondly, we've introduced a new option to control the inclusion of outputs in your notebook exports. This feature is designed with data security in mind. By default, outputs are not included in exports, which helps prevent any accidental leakage of sensitive information. However, if you work with outputs that you want to preserve in your exports, you can easily do so. Simply enable the Include outputs in the exported notebooks option, and your results will be retained, ensuring they look identical when re-imported.
We've shipped a small but mighty improvement for Auto AI to give you more control over its output. Now, you can specify exactly which types of blocks you want Auto AI to add to your notebook. For a more efficient, code-focused output, simply click on Settings in the prompt bar and deselect the Text option.
Need more textual explanations? No problem – you can change this setting anytime to suit your task at hand.