Files
tldr/pages.zh/common/git-touch.md

9 lines
293 B
Markdown

# git touch
> 创建新文件并将其添加到索引中。
> 这是 `git-extras` 的一部分。
> 更多信息请访问: <https://github.com/tj/git-extras/blob/master/Commands.md#git-touch>。
- 创建新文件并将其添加到索引中:
`git touch {{path/to/file1 path/to/file2 ...}}`