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

Let skip paths in cleaning working directory feature #11099

Closed
skorenb opened this issue Jul 11, 2023 · 1 comment · Fixed by #11102 · May be fixed by #11163
Closed

Let skip paths in cleaning working directory feature #11099

skorenb opened this issue Jul 11, 2023 · 1 comment · Fixed by #11102 · May be fixed by #11163
Labels
🚧 status: in progress Issues which have associated PRs type: feature request up-for-grabs Easy tasks for those looking to get involved. Refer to https://up-for-grabs.net/

Comments

@skorenb
Copy link

skorenb commented Jul 11, 2023

Feature description

It would be very convenient to clean working directory excluding some exceptional files.

Its label might be Skip the following path(s) or Do not remove following paths
image_2023-07-11_10-29-09

Environment

  • Git Extensions 4.1.0.16698
  • Build 1fe52a1
  • Git 2.40.1.windows.1
  • Microsoft Windows NT 10.0.18362.0
  • .NET 6.0.18
  • DPI 96dpi (no scaling)
  • Portable: False
  • Microsoft.WindowsDesktop.App Versions
    Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 5.0.17 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 6.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 6.0.12 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 6.0.18 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 7.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
    Microsoft.WindowsDesktop.App 7.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
@pmiossec
Copy link
Member

FYI, git clean only allows to exclude folders following a regex: https://git-scm.com/docs/git-clean#Documentation/git-clean.txt--eltpatterngt

It should not be too difficult to do. If someone wants to do it, I'm adding the "up for grab" label....

@pmiossec pmiossec added the up-for-grabs Easy tasks for those looking to get involved. Refer to https://up-for-grabs.net/ label Jul 11, 2023
@ghost ghost added the 🚧 status: in progress Issues which have associated PRs label Jul 13, 2023
@ghost ghost added 🚧 status: in progress Issues which have associated PRs and removed 🚧 status: in progress Issues which have associated PRs labels Aug 3, 2023
@ghost ghost removed the 🚧 status: in progress Issues which have associated PRs label Aug 14, 2023
RussKie pushed a commit that referenced this issue Aug 14, 2023
Fixes #11099

Allow users to exclude certain file paths when cleaning repository
@ghost ghost added the 🚧 status: in progress Issues which have associated PRs label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚧 status: in progress Issues which have associated PRs type: feature request up-for-grabs Easy tasks for those looking to get involved. Refer to https://up-for-grabs.net/
Projects
None yet
2 participants