Skip to content

Commit 706fb7a

Browse files
authored
Clarify post_init directions (#781)
* Clarify post_init directions * Fix spacing
1 parent eafec13 commit 706fb7a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ Once installed, extension behavior can be modified via the following settings wh
4747

4848
- Post *git init* actions: It is possible to provide a list of commands to be executed in a folder after it is initialized as Git repository.
4949

50+
In `~/.jupyter/jupyter_notebook_config.py`:
51+
```python
52+
c.JupyterLabGit.actions = {"post_init": ["touch dummy_init.dat"]}
53+
```
54+
55+
Or equivalently in `jupyter_notebook_config.json`:
5056
```json
5157
{
5258
"JupyterLabGit": {

0 commit comments

Comments
 (0)