I am a new user of Git, and I wonder if the the following scenario is possible:
I want to 'clean' a directory that i have been using, as to keep a clear oversight of my project, by deleting some of the files it contains. Let's say that the file I want to delete is called old.txt
.
However I cannot be sure that I will never want to come back to this file ever again - so I would like to still have the option to revert to it by using the git history.
Is there a way to make sure that this is still possible?