SwissDataScienceCenter / renku-jupyterlab-ts

A Renku extension for JupyterLab.
https://datascience.ch/solutions/#renku
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Display graph when jupyter lab started in a subfolder of a git project #15

Open ciyer opened 5 years ago

ciyer commented 5 years ago

Description

If JupyterLab is started in a subfolder of a git project (e.g., the notebooks folder), then the graph display does not work correctly.

Solution

Use git rev-parse --show-toplevel to figure out where the .git folder is.