learnxinyminutes-docs icon indicating copy to clipboard operation
learnxinyminutes-docs copied to clipboard

Remove/reword Git "regular expression" support

Open benjamin051000 opened this issue 1 year ago • 0 comments

https://github.com/adambard/learnxinyminutes-docs/blob/8498d0254a139e037eecac2acc389785a74a56c7/git.html.markdown?plain=1#L195-L196

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

benjamin051000 avatar Jan 29 '24 16:01 benjamin051000