DEV Community

Discussion on: 20 Git Commands Every Developer Should Know

Collapse
 
jessekphillips profile image
Jesse Phillips

'git checkout' I only use to checkout a specific commit hash if I need to do that

git switch --detach <hash>

Collapse
 
krishnaagarwal profile image
Krishna Agarwal

Yes
Thanks for sharing