rtk-ai/rtk

Bug : New files added with `git add --intent-to-add` are omitted by `rtk git status`

Open

#1,149 opened on Apr 10, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Rust (2,914 forks)batch import
area:clibugeffort-smallfilter-qualitygood first issuepriority:low

Repository metrics

Stars
 (48,085 stars)
PR merge metrics
 (Avg merge 11d 1h) (45 merged PRs in 30d)

Description

When there is a new untracked file being git added with -N or --intent-to-add option, that file will have new file:

Reproduction steps

  • touch new_file
  • git add -N new_file
  • rtk git status -> sees clean - nothing to commit

Contributor guide