Re: Git commands

2010-07-24 Thread Wouter Bolsterlee
Op zaterdag 24-07-2010 om 20:54 uur [tijdzone +0200], schreef Matej Urban: > On Fri, Jul 23, 2010 at 9:54 PM, Wouter Bolsterlee wrote: > > Perhaps git writes to stderr instead? Try this: > > > > $ git pull 2>&1 | tail -n1 > > > > ...instead. > > I have no idea what 2>&1 stands for, but it works!

Re: Git commands

2010-07-24 Thread Christopher Roy Bratusek
2>&1 means to both redirect stderr (2) and stdin (1) for more infos check your shell's manpage (eg man bash) > I have no idea what 2>&1 stands for, but it works! > I successfully combined it with egrep to do the job. Regards Chris ___ gnome-i18n mailing

Re: Git commands

2010-07-24 Thread Matej Urban
Hello, On Fri, Jul 23, 2010 at 9:54 PM, Wouter Bolsterlee wrote: > Op woensdag 21-07-2010 om 21:40 uur [tijdzone +0200], schreef Matej > Urban: > 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