3 ms·
Huh. I use checkout multiple times a day every day. It's how I switch branches, including creating new branches. I guess I could use other commands, but why cha
by cheshire137 2y ago
Huh. I use checkout multiple times a day every day. It's how I switch branches, including creating new branches. I guess I could use other commands, but why change what's working fine?
- joshka 2y agohttps://github.blog/open-source/git/highlights-from-git-2-23/#experimental-alternatives-for-git-checkout https://github.blog/open-source/git/highlights-from-git-2-23... gives a good overview of the reason for the two new commands.
- mac-attack 2y ago"The new commands, by contrast, aim to clearly separate the responsibilities of git checkout into two narrower categories: operations which change branches and operations which change files." Simple, concise breakdown