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

clean git workspaces #187

Open
mcandre opened this issue Aug 9, 2024 · 0 comments
Open

clean git workspaces #187

mcandre opened this issue Aug 9, 2024 · 0 comments

Comments

@mcandre
Copy link
Owner

mcandre commented Aug 9, 2024

As a developer, I want to setup a git clean task as a subtask of the usual project clean task. Because this helps save disk space when managing several git repository clones, and because when used safely, it can help to troubleshoot software problems.

Explore the options available to the git clean command.

https://git-scm.com/docs/git-clean

Add a git clean... command to makefiles, or whichever build system configuration file implements cleaning tasks, across my projects.

Ensure that as a precondition, git clean... should refuse to run, and should soft assert (forcibly exit zero), whenever the git clone has uncommitted changes.

https://stackoverflow.com/questions/27247123/how-do-i-clean-up-the-project-files-generated-by-cmake/27254365?noredirect=1#comment139017336_27254365

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

1 participant