Why does a pipe remove the branch names from git log?
问题 when I run > git log --oneline I get output that looks like this abcdef0 (head, branch, origin/branch) comment 0987654 different comment 1234567 (different-branch, origin/branch) third comment But as soon as I pipe the output to anything (e.g. > git log --oneline | cat ), the branch names are gone abcdef0 comment 0987654 different comment 1234567 third comment This means I can't grep, or add line numbers, or anything like that. (It's also missing the colors and less style behavior, but I don