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