DEV Community

Discussion on: 10+ things I always setup in git when I prepare a new environment

Collapse
 
snaka profile image
Shinji NAKAMATSU • Edited

I use tig and git CLI depends on the situation.

github.com/jonas/tig

I often use tig to see logs and diffs, or commands with a specific commit ID, such as git cherry-pick <commit-id> or git rebase -i <commit-id>.

On the other hand, I use the git CLI for risky commands such as git reset, and for tasks that are faster with shell completion such as git checkout <branch-name>.

Collapse
 
joolsmcfly profile image
Julien Dephix

I see. I’ll check tig later out of curiosity!

I prefer using my IDE for most commands (I make sure to know what’s going on behind the scenes though) as I find faster (Ctrl+K to open commit window, type message, Ctrl+Shift+K to commit and push).