Title: Theory / Important / CS / Softw / VCS / Git / rm
Tags: computer_to_instruction fromCommandLine FromInstruction fromCommand fromMath hasNotNewEffectReturnsMeaning instruction_to_flag mathToDef some_instruction

Fla: --cached file
Effect: remove file from the staging area, not from the working tree
Prefix: git rm
Chapter: 2

Fla: rm <pathspec>...
Effect: remove files <pathspec>... from the working tree and index
Page: https://git-scm.com/book/en/v2/Git-Internals-Maintenance-and-Data-Recovery
Prefix: git
Chapter: 10
Section: 7

Fla: --ignore-unmatch
Effect: no warning in case the file to remove does not exists
Page: https://git-scm.com/book/en/v2/Git-Internals-Maintenance-and-Data-Recovery
Prefix: git rm foo
Chapter: 10
Section: 7

Fla: --force
Effect: force remove the file from staging area (even if it means work that will be unrecoverable)
Page: https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository
Prefix: git rm
Flag abbreviation: -f
Chapter: 2

Fla: --dry-run
Effect: Don’t actually remove any file(s). Instead, just show if they exist in the index and would otherwise be removed by the command.
Page: https://git-scm.com/docs/git-rm
Prefix: git rm
Flag abbreviation: -n

Fla: -r
Effect: Allow recursive removal when a leading directory name is given.
Page: https://git-scm.com/docs/git-rm
Prefix: git rm

Fla: --sparse
Effect: Allow updating index entries outside of the sparse-checkout cone.
Page: https://git-scm.com/docs/git-rm
Prefix: git rm

Fla: --quiet
Effect: git rm normally outputs one line (in the form of an rm command) for each file removed. This option suppresses that output.
Page: https://git-scm.com/docs/git-rm
Prefix: git rm
Flag abbreviation: -q

Fla: --pathpsec-from-file=<file>
Effect: Pathspec is passed in <file> instead of commandline args.
Page: https://git-scm.com/docs/git-rm
Prefix: git rm