Skip to content

Commit ecd211f

Browse files
authored
Merge pull request #917 from fcollonval/chg-default-commitpush
Change commitAndPush default to false
2 parents 4fe9688 + 8b080cb commit ecd211f

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
@@ -66,7 +66,7 @@ Once installed, extension behavior can be modified via the following settings wh
6666

6767
- **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.
6868
- **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.
69-
- **commitAndPush**: Whether to trigger or not a push for each commit; default is `true`.
69+
- **commitAndPush**: Whether to trigger or not a push for each commit; default is `false`.
7070
- **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.
7171
- **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.
7272
- **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)