jupyterhub / nbgitpuller

Jupyter server extension to sync a git repository one-way to a local path
https://nbgitpuller.readthedocs.io
BSD 3-Clause "New" or "Revised" License
205 stars 84 forks source link

Untracked files that will be overwritten causing failure #277

Open yuvipanda opened 1 year ago

yuvipanda commented 1 year ago

Bug description

We have code that'll rename untracked local files that will be overwritten by upstream merge. That seems to have failed here, causing users to get stuck on this screen.

image

Expected behaviour

  1. The existing file is renamed to be name-of-file..extension
  2. User is sent to target URL

Actual behaviour

git fails, and user is stuck in this screen.