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
Written by Thomas Peklak
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#