JAEN

Git

git add

SafeStage changes

git add <path>

Adds changes to the next commit; -A stages everything.

Examples

  • git add -AStage all changes

Syntax

git add <path> | git add -A

Before you run it

Staging only.

Used when you see

Merge conflict
3
Stage the resolved files
See the whole flow →

Related commands

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store