You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It occurred to me that git revise HEAD desugars to essentially the same thing and so my alias is no longer needed. It would be nice if git revise used HEAD as a default target, so staged changes would simply be amended to the current commit with no other arguments.
The text was updated successfully, but these errors were encountered:
I came here to suggest the same thing. In the majority of cases, I used git commit -a and forgot about untracked files, so I just need to edit the previous commit. Making HEAD default would make that case easier.
I have an alias
recommit
:It occurred to me that
git revise HEAD
desugars to essentially the same thing and so my alias is no longer needed. It would be nice ifgit revise
usedHEAD
as a default target, so staged changes would simply be amended to the current commit with no other arguments.The text was updated successfully, but these errors were encountered: