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

Make it work like git commit #2

Open
awentzonline opened this issue Mar 8, 2014 · 3 comments
Open

Make it work like git commit #2

awentzonline opened this issue Mar 8, 2014 · 3 comments

Comments

@awentzonline
Copy link
Owner

That would be cooler.

@awentzonline
Copy link
Owner Author

Maybe it should amend an existing commit, instead.

@pirate
Copy link

pirate commented Dec 6, 2016

Since coolmit no longer needs to take the commit message as an argument, it would be nice to have an interface which just amends HEAD commit to have the desired prefix with no other arguments.

coolmitify cafe                    # amends HEAD commit to have "cafe" prefix
coolmitify --commit 9eb741c cafe   # amends 9eb741c commit to have "cafe" prefix, and rebases any necessary commits after it

Not a priority though, it works pretty great as-is right now.

@awentzonline
Copy link
Owner Author

I've changed it up so HEAD is updated which feels a lot nicer. I'm going to leave this open as a reminder to add the --commit and rebase option. Will publish to pypi when I get home later today.

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