Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git switch #256

Closed
Hamuko opened this issue Sep 5, 2019 · 1 comment
Closed

git switch #256

Hamuko opened this issue Sep 5, 2019 · 1 comment

Comments

@Hamuko
Copy link

Hamuko commented Sep 5, 2019

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
Copy link
Owner

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

weakish added a commit that referenced this issue Sep 11, 2022
switch confilicts with the switch command introduced by git 2.23,
and the alias is not installed for git >= 2.23.
Thus, the documentation is updated to encourage using sw instead.

see also #256
frostming pushed a commit that referenced this issue Sep 14, 2022
* doc: change switch to sw

switch confilicts with the switch command introduced by git 2.23,
and the alias is not installed for git >= 2.23.
Thus, the documentation is updated to encourage using sw instead.

see also #256

* update copyright year

* doc site: publish not require branch arg

* doc sync options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants