How to roll back to old SourceTree commit?

I can’t roll back to an old Commit from the GitHub commit history. Somehow I lost my entire project, and the one I download from GitHub only works when I use the final version. So how can I roll back to an old commit?

From the course repositiory? Older commits don’t have the changes to the build files for the newer versions. You’d pretty much just need to cherry-pick the commit that updates those files. e.g. for the TestingGrounds repo you would cherry-pick this commit 69464f9bc52860. You may get merge conflicts but that should be relatively straightforward to fix.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms