Skip to content

Commit b010571

Browse files
authored
Merge pull request #918 from meeseeksmachine/auto-backport-of-pr-917-on-jlab-2
Backport PR #917 on branch jlab-2 (Change commitAndPush default to false)
2 parents 0447043 + 68aa418 commit b010571

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Once installed, extension behavior can be modified via the following settings wh
4343

4444
- **blockWhileCommandExecutes**: suspend JupyterLab user interaction until Git commands (e.g., `commit`, `pull`, `reset`, `revert`) finish executing. Setting this to `true` helps mitigate potential race conditions leading to data loss, conflicts, and a broken Git history. Unless running a slow network, UI suspension should not interfere with standard workflows. Setting this to `false` allows for actions to trigger multiple concurrent Git actions.
4545
- **cancelPullMergeConflict**: cancel pulling changes from a remote repository if there exists a merge conflict. If set to `true`, when fetching and integrating changes from a remote repository, a conflicting merge is canceled and the working tree left untouched.
46-
- **commitAndPush**: Whether to trigger or not a push for each commit; default is `true`.
46+
- **commitAndPush**: Whether to trigger or not a push for each commit; default is `false`.
4747
- **disableBranchWithChanges**: disable all branch operations, such as creating a new branch or switching to a different branch, when there are changed/staged files. When set to `true`, this setting guards against overwriting and/or losing uncommitted changes.
4848
- **displayStatus**: display Git extension status updates in the JupyterLab status bar. If `true`, the extension displays status updates in the JupyterLab status bar, such as when pulling and pushing changes, switching branches, and polling for changes. Depending on the level of extension activity, some users may find the status updates distracting. In which case, setting this to `false` should reduce visual noise.
4949
- **doubleClickDiff**: double click a file in the Git extension panel to open a diff of the file instead of opening the file for editing.

schema/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"type": "boolean",
6464
"title": "Trigger push on commit",
6565
"description": "Whether to trigger or not a push for each commit.",
66-
"default": true
66+
"default": false
6767
}
6868
},
6969
"jupyter.lab.shortcuts": [

0 commit comments

Comments
 (0)