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 script to remove gitignore files. #64

Closed
wants to merge 1 commit into from

Conversation

Karanagarwal12
Copy link

@Karanagarwal12 Karanagarwal12 commented Mar 16, 2024

Added a script to remove all the files which are ignored by git with the help of .gitignore files. This will remove all the ignored files from all .gitignore files.
Fixes #3.

@ecxtacy ecxtacy changed the title removing git ignored files script added, issue #3 Add script to remove gitignore files. Mar 16, 2024
@ecxtacy
Copy link

ecxtacy commented Mar 16, 2024

Looks good, I've updated the title and description. Have a look at it and use these conventions for PR messages (differentiate from your PR title and description).

@ecxtacy
Copy link

ecxtacy commented Mar 16, 2024

BTW I have a fun followup question. What would happen if the .gitignore contains your scripts name, and you run your script ? Will the script get removed ? Or will it throw error since the program is trying to remove it while it is executing ? Or will it not get removed ? 😆

@Karanagarwal12
Copy link
Author

That's a good question,
I think that it will throw an error as it is being executed as you said.
Correct me if I'm wrong

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

Successfully merging this pull request may close these issues.

Write rm-gitignore script.
2 participants