Some paths that probably ought to be ignored by git

58 views
Skip to first unread message

Simon King

unread,
Mar 27, 2026, 7:36:12 AM (3 days ago) Mar 27
to sage-devel
Hi!

While trying to work around a different problem (conftest.py vanishing while building Sage from source, so that "git restore conftest.py" was needed before doing "make" again), I noticed that quite many paths are (probably rightfully) not under version control and I think they should be ignored by git:

$ git status
Auf Branch develop
Ihr Branch ist auf demselben Stand wie 'origin/develop'.

Unversionierte Dateien:
  (benutzen Sie "git add <Datei>...", um die Änderungen zum Commit vorzumerken)
Pipfile
pkgs/sage-conf/
pkgs/sagemath-bliss/
pkgs/sagemath-coxeter3/
pkgs/sagemath-mcqd/
pkgs/sagemath-meataxe/
pkgs/sagemath-sirocco/
pkgs/sagemath-tdlib/
src/Pipfile
src/doc/en/reference/repl/options.txt
src/environment-dev-3.10.yml
src/environment-dev-3.11.yml
src/environment-dev-3.9.yml
src/requirements.txt
src/sage/cpython/wrapperdescr.c
src/sage/docs/
src/sage/ext/memory_allocator.c
src/sage/finance/
src/sage/geometry/integral_points.c
src/sage/graphs/trees.c
src/sage/groups/old.c
src/sage/libs/arb/arb_version.c
src/sage/libs/flint/flint.c
src/sage/libs/flint/fmpz_factor.c
src/sage/libs/giac/giac.cpp
src/sage/libs/glpk/error.c
src/sage/media/
src/sage/modular/arithgroup/farey_symbol.h
src/sage/rings/complex_number.c
src/setup.cfg

Cheers
Simon

Simon King

unread,
Mar 27, 2026, 9:44:27 AM (3 days ago) Mar 27
to Dima Pasechnik, sage-...@googlegroups.com

Hi Dima,

thanks! I will try to recall your advice before the next rebuild is needed.

Cheers
Simon

Am 27.03.26 um 14:34 schrieb Dima Pasechnik:
Hi Simon,
the paths/files you list appear to be all no longer in use by Sage.
(they were at some point used, but then were removed, but somehow the removal didn't happen when you updated your local repo).

You can run "git clean -fdx" to remove everything not under revision control (then of course you will need to rebuild)

Dima

Dima Pasechnik

unread,
Mar 27, 2026, 4:24:18 PM (2 days ago) Mar 27
to sage-...@googlegroups.com, Simon King
Hi Simon,
the paths/files you list appear to be all no longer in use by Sage.
(they were at some point used, but then were removed, but somehow the removal didn't happen when you updated your local repo).

You can run "git clean -fdx" to remove everything not under revision control (then of course you will need to rebuild)

Dima


On March 27, 2026 5:36:11 AM CST, Simon King <simon...@uni-jena.de> wrote:
Reply all
Reply to author
Forward
0 new messages