I have very little experience with SourceTree. I had a branch I was working on and while looking back I hit checkout on it (hindsight no idea why). Anyway I can't see my most recent commits.. Is there a way I can go back?
This solution from StackOverflow is probably wrong, you just have to check out the branch where you made the commits originally. (Double-click the branch name.)
Nevermind. Found a solution: http://stackoverflow.com/questions/7263924/git-checkout-reverted-code-to-older-commit-how-to-revert-back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.