Files
DIY_GIT_in_Python/how_to/Change_09.md
2024-02-28 19:44:10 +01:00

344 B
Raw Blame History

  • write-tree: Ignore .ugit files

If we run ugit write-tree, we will see that it also prints the content of the .ugit directory. This directory isnt part of the users files, so lets ignore it.

Actually, I created a separate is_ignored() function. This way if we have any other files we want to ignore later we have one place to change.