GIT-TOUCH(1)
π GIT-TOUCH β the manual page, but make it slay
okay bestie, welcome to the git-touch page, part of the Git Extras collection β¨
π NAME π
git-touch β touch a file and add it to the index, all in one lil move π
π¦ SYNOPSIS π¦
git-touch <filename>
πΈ DESCRIPTION πΈ
So here's the vibe: it calls touch on the file you hand it, and then it drops that file straight into the current index. That's it. That's the whole thing. π«Ά
It's literally made for that one-step "new file just dropped" moment β creating new files without doing the whole touch-then-add dance like some kind of Victorian. no cap π
β¨ OPTIONS β¨
<filename>β the file that's getting touched. that's the one. π
π₯ EXAMPLES π₯
$ git touch Makefile
look at her go π one command, file touched, file staged, main character energy fr fr
π AUTHOR π
Written by Alex McHale <alexmchale@gmail.com> β shoutout to the icon who made this happen π
π REPORTING BUGS π
Found something cursed? Take it here, bestie:
<https://github.com/tj/git-extras/issues>
not me filing a bug report at 2am tho π
π SEE ALSO π
<https://github.com/tj/git-extras>
(the whole Git Extras fam lives there, go say hi π¦)
and that's the tea β this page came from Git Extras, dated May 2026, and it's filed under GIT-TOUCH(1) in the manual. bye bestie, go touch some files πβ¨πΈ
π¦ where this page comes from
- ubuntu stonking: git-extras 7.5.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms