From: Johannes Schindelin Date: Mon, 22 Oct 2007 13:38:38 GMT Subject: Re: best git practices, was Re: Git User's Survey 2007 unfinished summary continued Message-ID: In-Reply-To: Hi, On Mon, 22 Oct 2007, Wincent Colaiuta wrote: > El 22/10/2007, a las 13:04, Johannes Schindelin escribi?: > > > So once again, what operations involving git do people use regularly? > > Here are my top ten commands, sorted by the number of times they appear > in my ~/.bash_history: Thanks. That's a really good idea. I did the same, and it turns out that my list was wrong: 68 log 50 fetch 36 show 33 diff 19 grep 19 commit 14 ps (my alias which runs -p status) 10 config 8 rebase 8 push Everybody who wants to find out the same: this is how I did it: cat .bash_history | tr ";" "\\n" | sed -n "s/^ *git[- ]\([^ ]*\).*$/\1/p" | sort | uniq -c | sort -r -n One thing that I realised by looking at my list: It probably makes more sense teaching people about "fetch" in the beginning, teach other parts about git, and only then "push". We tend to teach people about "fetch" and "push" at the same time, but this is not consistent with any workflow. Ciao, Dscho