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

Remove/reword Git "regular expression" support #4831

Open
benjamin051000 opened this issue Jan 29, 2024 · 0 comments
Open

Remove/reword Git "regular expression" support #4831

benjamin051000 opened this issue Jan 29, 2024 · 0 comments

Comments

@benjamin051000
Copy link

benjamin051000 commented Jan 29, 2024

# Regular Expression support!
$ git add ./*.java

This is not regular expressions, it's actually pathname expansion (AKA glob patterns) , which is done by the shell. Therefore, these lines should be removed or reworded for clarity. While useful when running git commands, they technically have nothing to do with git itself.

If you feel strongly about keeping this section, I'd recommend the following wording:

# Shell glob patterns make it easy to specify multiple files:
$ git add ./*.java
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