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

Allow existing git amend alias to override the spr version #387

Open
alexeyr-ci opened this issue Feb 5, 2024 · 0 comments
Open

Allow existing git amend alias to override the spr version #387

alexeyr-ci opened this issue Feb 5, 2024 · 0 comments

Comments

@alexeyr-ci
Copy link

Not sure if it's possible in the first place (I expect commands always have priority over aliases with the same name) or too much effort even if it is. But I have a git amend alias I use constantly and it's in my muscle memory. So the ideal for me would be:

  1. git spr amend as an alternative to the current git amend. This way all the functionality of spr is available under git spr.
  2. If amend is already defined as an alias, running git amend should run the alias. If it isn't, run the spr version.
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

1 participant