abhinav / git-spice

Manage stacked Git branches
https://abhinav.github.io/git-spice/
GNU General Public License v3.0
257 stars 18 forks source link

Add --fixup to commit create #492

Open frank-west-iii opened 1 day ago

frank-west-iii commented 1 day ago

I use the fixup command quite a bit during my workflow. This is pretty useful during gs be commands, but I don't get the benefit of auto-restacking when I use git commit --fixup abc1234.

Is there any interest in expanding the options to commit create here to accept the fixup option?

abhinav commented 1 day ago

Hello! Yep, this makes sense. I think commit create is the only place where we'd need this option? A PR adding it this would be welcome if you'd like to take a stab at it. Otherwise, I'll get to it when I have the time and the inclination.

frank-west-iii commented 1 day ago

Yeah I only think it makes sense in create. I will take a stab at it. Thanks!