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 -ff option to git clean #529

Merged
merged 2 commits into from Dec 17, 2021
Merged

Add -ff option to git clean #529

merged 2 commits into from Dec 17, 2021

Commits on Jul 12, 2021

  1. Add -ff option to git clean

    Git will refuse to modify untracked nested git repositories
    (directories with a .git subdirectory) unless a second -f is given.
    
    This adds the ability to pass "-ff" to git clean to enable removing
    directories with a .git subdirectory.
    
    An example use case is when a gem from a git source is cached in
    vendor/cache/some_gem
    Removing this with "git clean" would require "git clean -dff"
    
    Signed-off-by: Cameron Walsh <cameron.walsh@gmail.com>
    cwalsh committed Jul 12, 2021
    Copy the full SHA
    32e3a4e View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2021

  1. Copy the full SHA
    589c0e8 View commit details
    Browse the repository at this point in the history