I'm just wonder if there is posibility to checkout just commit (hash) but NOT checkout the branch.
So basically I will end up with detached head. And it's what I want.
when you are reviwing someone code, you want to have the full codebase in your machine, so you want to checkout the changes. But when I checkout branch, I will create my local branch and I will have to "keep it up-to-date" if they will move the original one.
So the easy way is to just checkout the commit it self (by checkout hash) and not have the branch at all. No need to delete the branch later, if they will finish the work and merge it.
Right now, I just copy hash (context menu), open console, and manually write `git checkout [paste the hash]`
But it will be easier if I could do it from application itself :)
Not quite... If you just double click, it will be the same as you will select "Checkout" in context menu.
But if you do this on commit which is the head of some branch, you will see the window "Checkout New Branch".
And this is what I DON'T want to do. Because I want to checkout just commit not branch, and stay in detached head state.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Supported Platforms macOS Windows If you're reading this and it's not just educational… we know you're unhappy right now and apologize for that We're dedicated to improving yo...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs