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
Commit 0f5f177
Browse filesBrowse the repository at this point in the historyBrowse files
UI: stop tracking a file and surface git history findings (#8)
Fixing a git-tracked or historically-leaked secret meant dropping to a
terminal even though the UI already detected it. Adds a "stop tracking"
button (git rm --cached + gitignore) for TRACKED files, and a per-project
"scan git history" button that surfaces the deep history scan the CLI's
protect/history commands already do but the UI never called — including
secrets in files deleted long ago, which the fast per-file chip can't see.
Session-Id: 25b49055-f165-4d21-bec2-c530592f3ffe
Agent: claude-code
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
.banner{max-width:1240px;margin:0 auto 18px;padding:12px16px;border:1px solid rgba(251,191,36,.3);background:rgba(251,191,36,.06);border-radius:10px;color:#e8d9ae;font-size:12.5px}
: '<p class="note">No risky paths found in this repo’s history.</p>';
273
+
}finally{
274
+
button.disabled=false;
275
+
button.textContent="scan git history";
276
+
}
277
+
return;
278
+
}
279
+
if(act==="untrack"){
280
+
if(!confirm(`Untrack ${file.split(/[\\/]/).pop()} from git?\n\nRuns "git rm --cached" and adds it to .gitignore. This does NOT remove it from git history — rotate any real secrets in this file regardless.`))return;
0 commit comments