1. git-reindex(1)
  2. git-reindex(1)

NAME

git-reindex - re-add indexed files to the index

SYNOPSIS

git reindex (-h|--help)
git reindex (-v|--version)

DESCRIPTION

Used to re-add already indexed files to the index.

OPTIONS

-h|--help

Print a simple help message.

-v|--version

Print version.

EXAMPLE

For repository:

$ git status --short
MM CONTRIBUTING.md
 M README.md

To add un-indexed changes for indexed files:

$ git reindex
$ git status --short
M  CONTRIBUTING.md
 M README.md

SEE ALSO

git-add(1)

  1. June 2016
  2. git-reindex(1)