-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Make new
command take branch names
#72
Comments
I'm voting for this. I caught myself on this issue as well, I think it could be helpful. |
@vrom911 Thanks for your support! I think your solution also reasonable. And can be implemented as a separate flag, like |
Hmm, I like the option more (fewer words/commands to remember), so we can discuss this under that issue and leave this one only for branch creation. Thanks for clarifications and links, @chshersh ! |
hit new
commandnew
command take branch names
Sometimes when I create a new branch, it's not attached to some issue. For example, I want to fix docs, but I don't want to create an issue for that. Because
hit
works with issue numbers, it's not possible to create branches not under some issue.I propose to make
hit new
command a little bit smarter. It will parse argument, and if it's a number then it should keep current behavior. But if it's arbitrary text, it will create branch from this text prefixing with user name.$ hit new fix-docs > git checkout -b chshersh/fix-docs
The text was updated successfully, but these errors were encountered: