[git/tr] Fixes a confusion between regex and glob (#5166)
Some checks failed
Trigger site build / deploy (push) Has been cancelled
CI / lint (push) Has been cancelled

This commit is contained in:
Aaron 2025-04-13 23:06:35 +02:00 committed by GitHub
parent 32dcaa94c3
commit 92c0809c65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,7 +171,7 @@ $ git add HelloWorld.java
# add a file in a nested dir # add a file in a nested dir
$ git add /path/to/file/HelloWorld.c $ git add /path/to/file/HelloWorld.c
# Regular Expression support! # Shell glob patterns make it easy to specify multiple files:
$ git add ./*.java $ git add ./*.java
# You can also add everything in your working directory to the staging area. # You can also add everything in your working directory to the staging area.