Consider replacing "checkout" with "switch" and "restore", if widely available in the future · Issue #691 · swcarpentry/git-novice · GitHub
![Swarnadeep Saha on X: "RT @joseph_silber: `git checkout` has too many responsibilities. It's used for both switching branches, and for restoring individual files…" / X Swarnadeep Saha on X: "RT @joseph_silber: `git checkout` has too many responsibilities. It's used for both switching branches, and for restoring individual files…" / X](https://pbs.twimg.com/media/ECH9Q3nXkAAyZKS.jpg)
Swarnadeep Saha on X: "RT @joseph_silber: `git checkout` has too many responsibilities. It's used for both switching branches, and for restoring individual files…" / X
Git 2.23.0: Forget about checkout, and switch to restore. | by Alberto de Murga | Blue Harvest Tech Blog | Medium
![Scott Chacon on X: "If you want to know the difference in Git between checkout, switch, reset and restore, I've made you a handy guide. https://t.co/Etv7xKBlfz" / X Scott Chacon on X: "If you want to know the difference in Git between checkout, switch, reset and restore, I've made you a handy guide. https://t.co/Etv7xKBlfz" / X](https://pbs.twimg.com/media/F5VKLMbWMAAP8yl.jpg:large)
Scott Chacon on X: "If you want to know the difference in Git between checkout, switch, reset and restore, I've made you a handy guide. https://t.co/Etv7xKBlfz" / X
![28. GIT Restore and Switch command. Get the changes of file present in the particular commit - GIT - YouTube 28. GIT Restore and Switch command. Get the changes of file present in the particular commit - GIT - YouTube](https://i.ytimg.com/vi/65hyjWtv7M8/maxresdefault.jpg)
28. GIT Restore and Switch command. Get the changes of file present in the particular commit - GIT - YouTube
GitHub - sonatard/git-switch-trainer: You are forced to use git switch and git restore instead of git checkout by `git-switch-trainer`.
![VonC on X: "As I mentioned in https://t.co/9buGv0Jdsj with https://t.co/zuicSjTaAn: the "new" (Git 2.23+ , Q3 2019) and still experimental commands "git restore" and "git switch" are here to stay. https://t.co/K34bgobLHR" / VonC on X: "As I mentioned in https://t.co/9buGv0Jdsj with https://t.co/zuicSjTaAn: the "new" (Git 2.23+ , Q3 2019) and still experimental commands "git restore" and "git switch" are here to stay. https://t.co/K34bgobLHR" /](https://pbs.twimg.com/media/E7tVLsLXoAEOftd.jpg)