git-stage

Add file contents to the staging area

TLDR

Add a file to the index

>_ git stage [path/to/file]
copy

Add all files (tracked and untracked)

>_ git stage -A
copy

Only add already tracked files

>_ git stage -u
copy

Also add ignored files

>_ git stage -f
copy

Interactively stage parts of files

>_ git stage -p
copy

Interactively stage parts of a given file

>_ git stage -p [path/to/file]
copy

Interactively stage a file

>_ git stage -i
copy

SYNOPSIS



gitstage args ...

DESCRIPTION


This is a synonym for git-add (1). Please refer to the documentation of that command .

GIT


Part of the git (1)suite

Copied to clipboard
free 100$ digital ocean credit