[git/tr] Fixes a confusion between regex and glob

This commit is contained in:
aaron 2024-11-03 10:08:56 +01:00
parent a7068ea636
commit 8350b334be

View File

@ -181,7 +181,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.