-
Notifications
You must be signed in to change notification settings - Fork 702
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
Commit --amend and --no-edit #35
Comments
git has two levels of abstraction, you can perfectly do this task with the plumbing part, that's why this What is not supported is a Anyway, PRs are welcome. |
Hi, I find myself wanting to do something similar. Are there any examples of using the low-level plumbing interface(s) for doing sort of commit re-writing? Cheers |
This is probably an ugly solution, but you can approximate the effect of amend by:
Worked well for my purposes, but I'm also not really dealing with branches, so YMMV with references. |
Hi. OP here. I've no more interest in this effort, I've left the company where I was trying to work that out. Should I close this issue? |
Closing as done - #438. |
Hi. I'm trying to implement a simple
git commit --amend --no-edit
using go-git. I noticed the compatibility table statescommit
is supported, without any notes on specific flags. Are the flags--amend
and--no-edit
implemented and I'm missing something? If this is not currently possible with this module, maybe the documentation could state it upfront.The text was updated successfully, but these errors were encountered: