LinuxCommandLibrary

git-stage

Alias for git add to stage changes

TLDR

Stage files

$ git stage [file]
copy
Stage all changes
$ git stage -A
copy
Interactive staging
$ git stage -p
copy

SYNOPSIS

git stage [options] [files...]

DESCRIPTION

git stage is a built-in alias for `git add`. It stages changes for the next commit. The term "stage" more clearly describes the action of adding changes to the index than "add" does.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community