Our project is on git, but our compilation product is not. Now, we need a way to automatically delete the compiled product (lets say kuku.exe
) from the folder when we're checking out a new branch (because it became irelevant, and we want our scripts to tell us we have to compile again).
How do we do that? Something in git ignore or git attribute?