git-workflow
git-workflow copied to clipboard
Command `history | awk '$2 == "git" {print $1 " " $3}'` gets me a node "--no-pager"
Cool project!
I need --no-pager for some commands some time — e.g. git --no-pager branch --remotes --merged github-readwrite/master — and recommendation history | awk '$2 == "git" {print $1 " " $3}' > history.txt got me a node --no-pager in the graph, as a result.
So I used history | sed 's,--no-pager ,,' | awk '$2 == "git" {print $1 " " $3}' for a second iteration, instead. Maybe it's worth extending the recommend extraction command like that. What do you think?
Best, Sebastian