Hacker News new | ask | show | jobs
by nhaehnle 3963 days ago
One of the nice things about tig is its configurability. I have this in my ~/.tigrc, which helps a lot with my workflow:

    bind main R !git rebase -i %(commit)
    bind main M !git merge --ff-only %(commit)
1 comments

I added that R binding a couple of months ago, and it is magical. I hated having to git log, copy the sha, and then 'git rebase -i [paste]' every time. I've mostly switched over to magit, but this is one thing I still use tig for.
For me, rebasing usually concerns roughly the last N commits, which is why I don't bother running `git rebase -i HEAD~N` and ignore and commits I don't want to modify.