snippetbashTip
git touch — Create new files and add them to the index. Part of `git-extras`. More information: <https://github.
Viewed 0 times
createcommandfilesandnewgit touchcliadd
Problem
How to use the
git touch command: Create new files and add them to the index. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-touch>.Solution
git touch — Create new files and add them to the index. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-touch>.Create new files and add them to the index:
git touch {{path/to/file1 path/to/file2 ...}}Code Snippets
Create new files and add them to the index
git touch {{path/to/file1 path/to/file2 ...}}Context
tldr-pages: common/git touch
Revisions (0)
No revisions yet.