-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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-rename-branch arguments are in wrong order #759
Comments
@btmurrell |
@spacewander yes, I am planning to submit one -- i have one question on the docs tho -- do you have any tooling to generate the man and html docs? ronn? something else? thanks. |
@btmurrell |
Now git-rename-branch has the same order like 'git branch -m', 'git rename-tag' and other rename command. Note that this is a break change. Close tj#759.
Closed as #767 is merged. |
Sorry @spacewander , i got busy with work, then vacation. Thanks for putting that one in. |
this command takes "new branch" as first arg and "old branch" as second arg. these arguments are reverse what they should be. In all cli's you should have the first argument as "the thing you have" and the second argument as "the thing you want". look at all unix commands as examples (
mv
,cp
,ln
). Also look atgit-mv
from git, andgit-rename-remote
andgit-rename-tag
in this project.i know this argument inversion is a breaking change, but i think future users will appreciate it.
The text was updated successfully, but these errors were encountered: