Re: most commonly used git commands?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jun 25, 2007, 07:51 UTC
- Message-ID
- <Pine.LNX.4.64.0706250846200.4059@racer.site>
- In-Reply-To
- <20070625071752.GB15343@mellanox.co.il>
Hi,
On Mon, 25 Jun 2007, Michael S. Tsirkin wrote:
Show 5 quoted lines
> Quoting Junio C Hamano <gitster@pobox.com>: > > > I think "add" deserves to be there, I am not sure "apply" is. > > git add is supposed to be rare, no?
No.
Show 10 quoted lines
> That's why git commit lists file additions/removals ... > > My list is typically > git checkout > git commit > git pull > git push > git rebase > git reset > git update-index
git update-index is really not user-friendly. That is why we have "git add". It is commonly used as a porcelain _instead of_ update-index.
FWIW your list is lacking log and diff, the two commands which are my top two. I do not use rebase all that often (before --interactive, that is). status, grep, mv, gc, show and branch are others I use quite often (although not as much as log and diff)
Ciao, Dscho