i have a git stash which contains a single file, which cannot be version controlled in the central repository (file is generated) but i want to cache locally in version control for convenience. right now i have it in a git stash but that lends itself to being accidentally staged.
i also have a second file (eclipse's .classpath) which IS under master version control but i make local modifications for my own convenience. i want similar sticky functionality with git so i don't accidentally commit this file, but have it here with my local modifications and can merge against upstream changes as well.
how can i accomplish this sort of "sticky" file?
Add it to your .gitignore file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With