Hasty Briefsbeta

Bilingual

`Git stage` over `Git add`

10 months ago
  • #cli
  • #git
  • #version-control
  • The author prefers using 'git stage' over 'git add'.
  • Both commands are synonyms, but 'git stage' makes the intent clearer.
  • The manual for 'git add' describes it as adding file contents to the index.
  • The manual for 'git stage' describes it as adding file contents to the staging area.
  • The author feels 'git stage' aligns better with Git's staging/unstaging terminology in 'git status'.
  • The preference might be influenced by the author's familiarity with staging terminology.