You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CommitOwn's default mode commits a staged removal as an add when the file still exists on disk #3184
After git rm --cached <path> plus a .gitignore entry (untrack, keep on disk), CommitOwn.ts -m … -- <path> commits the file as it is on disk: it re-adds it, so the commit does the opposite of what was staged. Its message still describes an untracking.
--staged handles this correctly, but the default mode gives no warning.
Suggest the default mode refuse, with a hint to use --staged, when a named path is staged as deleted but present on disk. Hit twice in one session; once it committed private record rows into a backup repo under a message claiming the opposite.
Activity