Skip to content
zero2vibecodelearn vibe coding

What git add . does

Stage every change for the next commit.

gitadd.
  • gitcommand — track changes to your project and share them
  • addargument: a file, a folder, or text
  • .argument: a file, a folder, or text

What it does when you run it

$ git add .
$ git status
On branch main
Changes to be committed:
	new file:   notes.txt
	new file:   todo.md
	new file:   a.txt
	new file:   old.txt
	new file:   names.txt
	new file:   script.sh
	new file:   log.txt
	new file:   projects/web/index.html
	new file:   projects/web/app.js
	new file:   app.js
	new file:   myfolder/keep.txt

Run it yourself

The same files. Nothing here can break, and nothing leaves your browser.

Explain other commands

Written by Mikhail Kuzmitskii