I am using GitKraken, a gui client of git vcs. GitKraken is also a single place for all my Git repositories. But i didn't find any option where i can go such a particular commit that i have already used in my git bash using "git checkout " command.
To checkout a previous commit, you will use the Git checkout command followed by the commit hash you retrieved from your Git log.
New BranchesGit checkout works hand-in-hand with git branch . The git branch command can be used to create a new branch. When you want to start a new feature, you create a new branch off main using git branch new_branch . Once created you can then use git checkout new_branch to switch to that branch.
See "Checkout a branch":
You can right-click on any commit, select "create a branche here", and checkout that branch.
That way, you will avoid the detach HEAD branch, and will switch to the expected commit.
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