Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a reset function #280

Open
ryanlovett opened this issue Sep 26, 2022 · 0 comments
Open

Add a reset function #280

ryanlovett opened this issue Sep 26, 2022 · 0 comments

Comments

@ryanlovett
Copy link
Contributor

Proposed change

We recommend that people manually move aside their working directories if their state somehow inhibits syncing with the upstream repo. It'd be nice if nbgitpuller could have a reset argument which could perform this step automatically. It is similar in spirit to JupyterLab's workspace reset feature.

Alternative options

People can manually login and rename their working directories from their notebook apps or a terminal.

Who would use this feature?

People who need a quick "click link to fix" option.

(Optional): Suggest a solution

Consider renaming the old working directory by adding a timestamp to the name. This ensures it has a unique name in case the directory is reset more than once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant