2018-01-23 11:29 GMT+01:00 Antoine Pitrou <anto...@python.org>:
> Did you try "make distclean"?

Oh by the way, it took me year to discover the cool *builtin* Git function:

* "git clean -ndx" shows all untracked files and directories
* "git clean -fdx" removes all untracked files and directories

BE CAREFUL: "git clean -fdx" really removes anything not tracked by
Git, including your local files and all your local directories.

You may use "make clean" or even "make distclean" before "git clean
-ndx" to better see what will be removed.

In short, "git clean -fdx" *behaves* as "cd ..; rm -rf python; git
clone https://github.com/python/cpython python; cd python", without
the need to download everything again ;-)

When I have a local patch like test.patch, I move it to the parent
directory, run git clean, and move back the file.

Victor
_______________________________________________
python-committers mailing list
python-committers@python.org
https://mail.python.org/mailman/listinfo/python-committers
Code of Conduct: https://www.python.org/psf/codeofconduct/

Reply via email to