Git Console
This option is provided to apply various Git commands on the Repo Sync Project.
Last updated
This option is provided to apply various Git commands on the Repo Sync Project.
Last updated
Navigate to the Notebook tab of an activated Repo Sync Project.
Select a .ipynb file from the Repo Sync Project.
The file content opens.
Edit the displayed script.
Click the Save icon.
A notification message appears to ensure that the script has been saved.
Navigate to Git Repository.
Access the same script on the Git Repository.
Click the Edit tab to open the script in the editable format.
Modify or change the existing script.
Click the Commit changes option.
The Commit changes window opens.
Provide a Commit message and choose a branch to commit your changes.
Click the Commit changes option.
Your changes get commited to the script.
Navigate to the DSL repo sync project and click the Console icon.
The Git Console space opens.
Use the Git commands to get the latest updates for the script.
git status, git add, and git commit commands are used in the given image:
The next used Git command is git push.
The displayed warning in the given image indicates that the push command is rejected as the remotely saved script has some recent changes, therefore the user is advised to first pull the remote changes before pushing the script.
The below given image displays the Pull command used in the Git space.
The ending lines indicates that there is conflict in the selected script, so the user must fix the conflict and merge the result.
The file title appears in red color to indicate the conflict.
The cells containing conflicted content get highlighted in the script.
Click the Delete icon for the conflicted cells.
The Delete Cell window appears.
Click the Yes option.
A notification message appears to ensure that the conflicted cell is removed from the script.
Click the Save icon for the script.
Please Note: The user must resolve all the conflicts in the selected file, before saving it.
A notification message appears to ensure that the script is saved.
The saved script reflects the remote changes.
The color of the selected file title also gets changed.
By hovering on the file name, it displays the current status of the file. E.g., the given image displays that for the current file conflicts are resolved, but it is in uncommitted status.
Click the Git Console icon.
The Git Console space gets displayed.
The used Git commands in the given example are git add, git commit, and git push.
Navigate to the script saved remotely (in the Git repository).
The script displays the recent changes committed by using the Git Console space for a Repo Sync Project.
All the Git commands will be supported in the Git Console. Please find some of the commonly used Git commands listed below.
Please Note: Refer the Data Science Lab Quick Start Flow page to get an overview of the Data Science Lab module in nutshell.