A friend and I made a repository for a project we’re going to be working on together.
We both use github desktop and are very unexperienced with github. It happens fairly often that our repository suddenly takes a 180 degree turn and changes files we never asked it to, leading to tons of errors that we have no idea how to fix.
So, we decided that it’s best to test around with it, while keeping the stable versions around.
How would you go about making a backup of your repository, so that you can reset it back to an older version?
I don’t mind downloading the entire file, get rid of all the repository files and putting that older file back in. Though I don’t know if that’s the best course of action to take