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

[Request] Add option to delete files #19

Closed
DmitrijOkeanij opened this issue Jan 29, 2020 · 4 comments · Fixed by #20
Closed

[Request] Add option to delete files #19

DmitrijOkeanij opened this issue Jan 29, 2020 · 4 comments · Fixed by #20
Assignees
Labels
type: feature New feature or feature request
Projects

Comments

@DmitrijOkeanij
Copy link

DmitrijOkeanij commented Jan 29, 2020

I know that it can be cleared using command like this - run: git rm delete_me.txt.
But syntax of this action is not full human understandable and need to know git commands.

Request is to add clear option. I think this simple action can close many issues and cases when needed to fully recreate destination folder/repository. And make code more simple and clear.

This is not functionality issue, but syntax and clean code.

PS: And documentation after that will be more simple too. No need big example of how to clean. Just one new option.

@EndBug EndBug changed the title [Request] Add option to clear publish folder/repostitory [Request] Add option to delete files Jan 29, 2020
@EndBug EndBug self-assigned this Jan 29, 2020
@EndBug EndBug added the type: feature New feature or feature request label Jan 29, 2020
@EndBug EndBug added this to To do in Main board via automation Jan 29, 2020
@EndBug
Copy link
Owner

EndBug commented Jan 29, 2020

It should be pretty simple: the option can be a string, that gets put in a git rm command.
To delete multiple files you should be able to put them in the same string, since git rm file1 file2 works fine

@DmitrijOkeanij
Copy link
Author

DmitrijOkeanij commented Jan 30, 2020

But if there is many files? In my case thee is more then 100 files. And I do not know thir names. Need to clear all.
I ulam making workflow to compile my project and put all compike result in separete repository. There are many, more then 100 files, and unpredictable names.

I am sorry. Do not want to bother you. I already solve my situation other way. Just want to give good feedback.

@EndBug
Copy link
Owner

EndBug commented Jan 30, 2020

You can always use patterns as you would usually do on a git add or git rm command 😅

@EndBug EndBug linked a pull request Feb 21, 2020 that will close this issue
Merged
@EndBug EndBug closed this as completed Feb 21, 2020
Main board automation moved this from To do to Done Feb 21, 2020
@EndBug
Copy link
Owner

EndBug commented Feb 21, 2020

This issue is resolved by version 3.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or feature request
Projects
No open projects
Main board
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants