-
Notifications
You must be signed in to change notification settings - Fork 123
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
Error, fatal ambiguous argument #6
Comments
I'm getting the exact same error. I even added the two @vesche Did you ever find an alternative way of doing this?
|
@callaginn Yes, I did. I had to change each commit manually, luckily I only had two bad commits. Here's the stack overflow answer that helped me, I had to modify the answer a bit because it was for unpublished commits. Make sure you force the push. And here's the personal note I took afterwards: Change the time of a git commitGod this was a bitch, writing this down in case I need it again.
Check out |
@vesche Haha...that does look irritating. I ended up finding it easier to just do it again, though, since I had already carefully documented all my backdated commits in a spreadsheet. Spent my entire last weekend on that stupid project : P Git is complicated. Really don't understand why nobody's really created a visual interface for all this. Closest I've seen is GitUp, but it's lacking a ton of features: https://github.com/git-up/GitUp |
Check out Github Desktop: https://desktop.github.com/ |
@vesche Already using it. What I'm talking about is a git editor that allows you to do filter-branching, interactive-rebasing, tons of redos, etc in a visual drag-and-drop interface. Would do it myself...but I'm a front-end designer/developer, not a programmer. I have found that the Atom editor can do some simple rewrites, though, if you haven't pushed anything yet. Otherwise, you're stuck with the command line. |
This happens when you go through or beyond the root commit. Not sure how much finagling is required to accommodate the edge case. |
@au That makes a lot of sense, I didn't even think about that. It was also my case that the author I merged commits from did so on a date before the root commit. |
I am trying to change the commit times on one of my projects. I merged a pull request from someone with a bad system time... git-redate doesn't seem to have a problem when editing a date from the last 5 commits. But, I'm trying to change some commits that are within the last 23 commits. I'm getting the following error (upon exiting vi):
The text was updated successfully, but these errors were encountered: