Re: Git commands



Hello,

is it possible to "grep" the git commands? OR HOW do I output only the
last line of git command.

I want git pull to only output the last line usually something like
- X files changed, XXX insertions(+), XXX deletions(-)
- Already up-to-date.

or when using git push only
- 45604564 master -> master
...

I tried various variations of git pull | tail -1

I also tried to grep the git commit to output only the line about who
the author is ...
Nothing.

Matej


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]