Skip to content

Commit

Permalink
Merge pull request #917 from fcollonval/chg-default-commitpush
Browse files Browse the repository at this point in the history
Change commitAndPush default to false
  • Loading branch information
fcollonval authored Apr 3, 2021
2 parents 4fe9688 + 8b080cb commit ecd211f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Once installed, extension behavior can be modified via the following settings wh

- **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.
- **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.
- **commitAndPush**: Whether to trigger or not a push for each commit; default is `true`.
- **commitAndPush**: Whether to trigger or not a push for each commit; default is `false`.
- **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.
- **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.
- **doubleClickDiff**: double click a file in the Git extension panel to open a diff of the file instead of opening the file for editing.
Expand Down
2 changes: 1 addition & 1 deletion schema/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"type": "boolean",
"title": "Trigger push on commit",
"description": "Whether to trigger or not a push for each commit.",
"default": true
"default": false
}
},
"jupyter.lab.shortcuts": [
Expand Down

0 comments on commit ecd211f

Please sign in to comment.