Though I do think the 'git checkout' is a bit dated.
'git switch' is able to switch branches and it's easier to remember. It will also automatically pull remote branches if you switch to something on the remote. git-scm.com/docs/git-switch
'git checkout' I only use to checkout a specific commit hash if I need to do that
Good list!
Though I do think the 'git checkout' is a bit dated.
'git switch' is able to switch branches and it's easier to remember. It will also automatically pull remote branches if you switch to something on the remote.
git-scm.com/docs/git-switch
'git checkout' I only use to checkout a specific commit hash if I need to do that
Thanks I'll update that.
git switch --detach <hash>
Yes
Thanks for sharing