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

remove need for git add -f? #75

Open
lheagy opened this issue Jan 30, 2024 · 1 comment
Open

remove need for git add -f? #75

lheagy opened this issue Jan 30, 2024 · 1 comment

Comments

@lheagy
Copy link
Contributor

lheagy commented Jan 30, 2024

Could we remove the need for the force add of materials here? It makes adding files quite inconvenient... I have a reasonable .gitignore, but then when you use git add -f, it adds all of the files that we don't need (checkpoints, etc). By not seeing anything when running git status because we have to force add everything, it also means it would be easy to forget a data file.

So my current workflow is to force add everything, and then selectively remove files, which is pretty clunky

image

@chendaniely
Copy link
Contributor

git existing .gitigore file lists:

DO NOT CHANGE THIS
All files are ignored to prevent students/JupyterLab git
extension from accidentally staging things and breaking nbgitpuller

seems like everything is ignored so students don't accidently commit anything in their jlab repo, which would causes issues when nbgitpuller triggers a git pull.

I'm not sure what a good middleground would be to makes things less clunkly?

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

No branches or pull requests

2 participants