git-touch - Man Page
Touch and add file to the index
Examples (TL;DR)
- Create new files and add them to the index:
git touch path/to/file1 path/to/file2 ...
Synopsis
git-touch <filename>
Description
Call touch on the given file and add it to the current index. Used one-step creating new files.
Options
<filename>
File to be touched.
Examples
$ git touch Makefile
Author
Written by Alex McHale <alexmchale@gmail.com>
Reporting Bugs
See Also
Referenced By
October 2017 Git Extras