Chapter 10. Pushing project changes to a Git repository
To build and deploy your application in a production environment, upload your work to a remote Git repository.
Prerequisites
- You have opened a notebook in the JupyterLab interface.
- You have already added the relevant Git repository to your notebook server.
- You have permission to push changes to the relevant Git repository.
- You have installed the Git version control extension.
Procedure
- Click File → Save All to save any unsaved changes.
-
Click the Git icon (
) to open the Git pane in the JupyterLab interface.
Confirm that your changed files appear under Changed.
If your changed files appear under Untracked, click Git → Simple Staging to enable a simplified Git process.
Commit your changes.
- Ensure that all files under Changed have a blue checkmark beside them.
- In the Summary field, enter a brief description of the changes you made.
- Click Commit.
- Click Git → Push to Remote to push your changes to the remote repository.
- When prompted, enter your Git credentials and click OK.
Verification
- Your most recently pushed changes are visible in the remote Git repository.