-
Notifications
You must be signed in to change notification settings - Fork 2
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 fixdown #1
Comments
That's a great idea! I have run in to that situation before so something smarter would definitely be nice. I like Python but prefer to keep as much of my dotfiles in plain ol' Bash as much as possible; maybe I'll see if I can recreate that in my own version :) Thanks so much for sharing! |
Ah, yes, if you could adapt your bash script, that would be nice :-) (it would be more portable) |
By the way, I improved the script a little:
|
Hi Chris, fyi, I used your git-autofix script as the basis for a variation:
https://gist.github.com/mnieber/b88a2f3136aa1f733d96314507935c8d
This variation will abort if there are multiple possible target commits for the fixup (making it possible to "blindly" fixup without worrying about accidentically fixing up the wrong commit).
There is a feature upcoming where - in case of multiple possible target commits - I will also print which lines must be unstaged to remove the conflict.
The text was updated successfully, but these errors were encountered: