frostming / legit

Git for Humans, Inspired by GitHub for Mac™.
https://frostming.github.io/legit
BSD 3-Clause "New" or "Revised" License
5.7k stars 218 forks source link

git switch #256

Closed Hamuko closed 4 years ago

Hamuko commented 4 years ago

git v2.23 introduced a new command, git switch. Seems like it's just an attempt to split up the current checkout command into more explicit commands, so it doesn't really do anything fancy (at least yet, it's advertised as experimental). However, there is quite a clear name conflict now with legit, as legit installs its own switch alias.

I imagine the best course would be for legit to rename its alias into something else. Another term or just opt with the shorthand sw.

frostming commented 4 years ago

Simply skip the alias for git >= 2.23.0, git sw is still available.