---
name: "git-touch"
section: "1"
platform: "linux"
package: "git-extras"
version: "7.3.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/git-touch"
---

# git-touch(1)

Touch and add file to the index

## NAME

**git-touch** - Touch and add file to the index

## 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

\<*https://github.com/tj/git-extras/issues*\>

## SEE ALSO

\<*https://github.com/tj/git-extras*\>
