therubymug / hitch

Git author attribution helper for pair programmers.
http://github.com/therubymug/hitch
MIT License
250 stars 32 forks source link

Hitch option (--amend) to amend the last commit #4

Closed ldenman closed 12 years ago

ldenman commented 13 years ago

Thanks for your work on hitch. I've been using it daily for a while now and just forked the project today for some good ole fashion fun.

One thing a pair and I have added in our fork is the ability to amend the latest commit with the current hitched pair or soloist. Sometimes we forget to hitch, look at the log, realize our mistake, then git commit --amend --author="hitch"

We thought it would be handy to add the following option:

hitch --amend

Our current approach is a naive prototype (we use system calls and didn't test drive!), but we had a good time learning about hitch. Is this addition something you would be interested in adding to hitch? We are planning on implementing it again using TDD.

Nice job on the recent rewrite -- the code looks a lot better!

therubymug commented 13 years ago

Glad you like Hitch! :-) Sorry I didn't respond earlier, my laptop was being repaired so I've been out of pocket for a few days. re: hitch --amend I'm open to the idea. :-)

therubymug commented 12 years ago

I never saw a pull request on this. Either way, why wouldn't you just: git commit --amend --reset-author after re-hitching?

ldenman commented 12 years ago

Hey ya. That is basically what we do now. I guess we can just close this up. We are still using hitch. :-)