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

Add aliases for git switch and switch -c #112

Open
maks-rafalko opened this issue Jul 2, 2024 · 1 comment
Open

Add aliases for git switch and switch -c #112

maks-rafalko opened this issue Jul 2, 2024 · 1 comment

Comments

@maks-rafalko
Copy link

maks-rafalko commented Jul 2, 2024

  • git switch should be used instead of git checkout
  • git switch -c should be used instead of git checkout -b

I didn't find aliases for git switch, so here is a proposal.

git s is already assigned to git status, so probably:

  • git sw = switch
  • git swc = switch -c

?

@joelparkerhenderson
Copy link
Member

Good idea, thank you. As soon as git switch is out of experimental i.e. stabilized, then we'll do this.

See the git documentation where git switch says "THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE."

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

No branches or pull requests

2 participants