Fix: remove committed uploads/ sample files from git tracking #2

Closed
opened 2026-03-21 23:32:19 +00:00 by murray · 0 comments
Owner

Problem

The .gitignore correctly has uploads/ but two sample PDF files were committed before the gitignore was added:

  • uploads/john_doe.pdf
  • uploads/marie_smith.pdf

These are test/sample files that should not be in the repo.

Tasks

1. Remove uploads from git tracking

git rm -r --cached uploads/

2. Verify .gitignore

Confirm uploads/ is in .gitignore (it should already be there).

Git

cd /path/to/pdf-manager
git rm -r --cached uploads/
git add -A && git commit -m "fix: remove tracked sample uploads" && git push

Use remote URL with token: https://otis:<GITEA_TOKEN>@gitea.netcups.al3dev.link/monkey-island/pdf-manager.git
Token in /root/.openclaw/workspace/.gitea-credentials.

When Done

Run: openclaw system event --text "Done: pdf-manager cleanup (issue #2)" --mode now

## Problem The `.gitignore` correctly has `uploads/` but two sample PDF files were committed before the gitignore was added: - `uploads/john_doe.pdf` - `uploads/marie_smith.pdf` These are test/sample files that should not be in the repo. ## Tasks ### 1. Remove uploads from git tracking ```bash git rm -r --cached uploads/ ``` ### 2. Verify .gitignore Confirm `uploads/` is in `.gitignore` (it should already be there). ## Git ```bash cd /path/to/pdf-manager git rm -r --cached uploads/ git add -A && git commit -m "fix: remove tracked sample uploads" && git push ``` Use remote URL with token: `https://otis:<GITEA_TOKEN>@gitea.netcups.al3dev.link/monkey-island/pdf-manager.git` Token in `/root/.openclaw/workspace/.gitea-credentials`. ## When Done Run: `openclaw system event --text "Done: pdf-manager cleanup (issue #2)" --mode now`
murray added the
P2-normal
bug
otis
labels 2026-03-21 23:32:19 +00:00
otis closed this issue 2026-03-21 23:34:52 +00:00
Sign in to join this conversation.
No description provided.