-
Notifications
You must be signed in to change notification settings - Fork 328
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
Git Init Menu #584
Comments
👍 jupyterlab-git/src/gitMenuCommands.ts Line 118 in 2787178
👎 |
That is a good point. Do you have any suggestions? What if we add the ability to set in in the server config ( My use case is for init to setup nbstripout (update .gitattibutes) and on clone to rerun the setup to re-add to the git filters (they are not stored for security reasons). So I'd want some way to say when you init or clone - run this command (or run this command after init or clone is fine too). |
👍 as well. For reference, the Git Clone button used to be disabled if already inside a Git repo, to discourage nesting of Git repos #260, though I'm not sure if this is still the case after the recent refactoring) |
There is a hanging feature request for cleaning notebooks (#392). So it may be better to introduce this feature specifically through an extension option - I imagine that using a tooglable menu item would be appropriate. There is also some issues with |
I don't think we'll find a one size fits all solution to cleaning notebooks (e.g. don't count out jupytext). I think it's better to focus this solely on a git UI as any feature that is added here must also work via CLI anyway. That is not to say we shouldn't enable people to use these useful tools, but, IMO, there should be no choice made in this project that isn't generic. FWIW, nbstripout isn't fast, but it has features jq make hard to implement making it my current preferred choice in this area. |
@mlucool would you like to propose a PR for this one? |
A PR modifying |
The menu has "Git Init" in it. I suggest two separate things:
git init
to something else.The reason for 2, is I typically want
git init && setup_notebook_filters
.What do people think?
The text was updated successfully, but these errors were encountered: