Heykuki News

TopNewBestAskShowJobs
TopNewBestAskShowJobs
Ask HN: Which git commands do you use most? (counting command included)
13 points
kiechu
12 years ago
Here is command that counts them:

// Updated. HN filters changed the line, so see the code via Gist: https://gist.github.com/anonymous/9053693

Here are my results:

     49 git status -s
     15 git commit -am
     12 git push
     11 git checkout
     10 git add
      7 git branch
      5 git rm
      5 git mv
      5 git diff
      3 git rm --cached
      3 git rebase
      3 git commit -m
      3 git checkout -b
      2 git rm -r --cached
      2 git clone
      2 git branch -v
      1 git status -ss
      1 git status
      1 git satus -s
      1 git rm --chached
      1 git reset --soft
      1 git reset --hard
      1 git reflog
      1 git rebase --skip
      1 git rebase --continue
      1 git push --set
      1 git log
      1 git diff --cached
      1 git branch --remote
      1 git branch -d
      1 git barnch
      1 git add -u
      1 git add --all
What are yours?
12 comments