Skip to content

Commit

Permalink
Clarify post_init directions (#781)
Browse files Browse the repository at this point in the history
* Clarify post_init directions

* Fix spacing
  • Loading branch information
mlucool authored Sep 24, 2020
1 parent eafec13 commit 706fb7a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ Once installed, extension behavior can be modified via the following settings wh

- 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.

In `~/.jupyter/jupyter_notebook_config.py`:
```python
c.JupyterLabGit.actions = {"post_init": ["touch dummy_init.dat"]}
```

Or equivalently in `jupyter_notebook_config.json`:
```json
{
"JupyterLabGit": {
Expand Down

0 comments on commit 706fb7a

Please sign in to comment.