Last Updated: February 25, 2016
·
2.521K
· thomaspeklak

Glob patterns in git add

You don't have to specify the full name + directory of a file to stage it. You can simply use a glob pattern like this:

git add **/file-to-add.txt