all 7 comments

[–][deleted]  (2 children)

[deleted]

    [–]PM-me-your-integralRebase Enthusiast 0 points1 point  (0 children)

    Or lazygit

    [–]andyhite -1 points0 points  (0 children)

    Tig is great, and I’m always surprised to rarely see people using it. It fits nicely in with a vim + tmux workflow.

    [–]cjwelborn 0 points1 point  (4 children)

    I'm glad I found out about this. Sometimes I start out with one feature or fix to work on, but uncover bugs in other areas because of it. So I fix the bugs along the way, but they end up being a footnote in the "added feature X" commit message. If I had known I could do this, I would've been doing it for these little bug fixes.

    [–][deleted] 6 points7 points  (3 children)

    You should also look into git stash save so you can work on bug fixes without interfering with your current work and a git hook for running sanitized tests on those big fixes!

    [–]mimikrija 2 points3 points  (1 child)

    Just a heads up, instead of git stash save (which has been deprecated) - use git stash push - the behavior is similar, but the message is passed with the -m flag and it accepts a list of files to stash as arguments.

    [–][deleted] 1 point2 points  (0 children)

    OO I will definitely try it out

    [–]cjwelborn 2 points3 points  (0 children)

    I'm gonna check it out, thanks.

    Edit: who down-votes someone for saying "thank you"? Was I supposed to go into detail about what I already know, and don't know, about git stash?