Skip to content

chore: remove committed build artifacts and tighten .gitignore#5

Closed
Copilot wants to merge 2 commits into
mainfrom
copilot/clean-up-git-repository
Closed

chore: remove committed build artifacts and tighten .gitignore#5
Copilot wants to merge 2 commits into
mainfrom
copilot/clean-up-git-repository

Conversation

Copilot AI commented Mar 3, 2026

Copy link
Copy Markdown

215 build-generated files were accidentally committed, bloating the repo with Sphinx doctrees, rendered HTML, font assets, backup tarballs, and LaTeX logs.

Removed from tracking (git rm --cached)

  • .ghpages/ — full Sphinx HTML output tree (old manual deploy method)
  • docs/build/ — doctrees, rendered HTML, and LaTeX PDF output
  • docs/backups/ — HTML backup tarballs
  • docs/texput.log — LaTeX build log
  • docs/Makefile — was already gitignored but had been committed
  • source/ (root-level) — stale conf.py / index.rst leftover, superseded by docs/source/

.gitignore updates

Replaced the piecemeal per-file/per-subdir patterns with broader directory-level ignores:

-docs/build/latex/*
-!docs/build/latex/target_setter.pdf
-docs/build/doctrees/*
-docs/build/html/_images
-docs/build/html/_static
-...
+docs/build/
+docs/backups/
+docs/texput.log
+source/
+.ghpages/

Repository drops from 445 → 230 tracked files. All remaining files are source, published assets, or intentional project artifacts.

Original prompt

clean up my git

Created from VS Code.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: c-lydia <83197148+c-lydia@users.noreply.github.com>
Copilot AI changed the title [WIP] Clean up Git repository structure and organization chore: remove committed build artifacts and tighten .gitignore Mar 3, 2026
@c-lydia c-lydia marked this pull request as ready for review April 8, 2026 09:23
Copilot AI review requested due to automatic review settings April 8, 2026 09:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes accidentally committed documentation build artifacts (Sphinx HTML/doctrees, LaTeX logs, backup tarballs, and legacy GitHub Pages output) and updates .gitignore to prevent reintroducing them.

Changes:

  • Removed tracked build-generated docs output under docs/build/ and legacy deployment output under .ghpages/
  • Removed stale root-level source/ Sphinx stub files and other stray build artifacts (docs/texput.log, committed docs/Makefile)
  • Simplified .gitignore to ignore entire build/output directories (docs/build/, docs/backups/, .ghpages/, etc.)

Reviewed changes

Copilot reviewed 89 out of 216 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.gitignore Broadens ignore patterns for docs build/backups and legacy deploy output (needs a small fix to avoid ignoring docs/source/).
source/conf.py Removes stale root-level Sphinx config superseded by docs/source/conf.py.
source/index.rst Removes stale root-level Sphinx index superseded by docs/source/index.rst.
docs/Makefile Removes previously committed docs build Makefile (was intended to be untracked).
docs/texput.log Removes LaTeX build log artifact and adds ignore rule to keep it untracked.
docs/build/** Removes Sphinx build outputs (HTML, doctrees, LaTeX outputs) from version control.
docs/backups/** Removes backup tarballs from version control and adds ignore rule to keep them untracked.
.ghpages/** Removes legacy GitHub Pages output tree from version control and adds ignore rule to keep it untracked.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@c-lydia c-lydia closed this Apr 29, 2026
@c-lydia c-lydia deleted the copilot/clean-up-git-repository branch April 29, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants