Created
June 11, 2014 18:23
-
-
Save ryanaslett/c3fa595523b11a8e31d6 to your computer and use it in GitHub Desktop.
I have my bash history set to keep 100000 entries. At about the 30,000 mark I decided to see what I use git for. Here's the awk script that does it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
history | awk '$4 ~ /^git/ { x[$4 " " $5]++ } END { for (i in x) print x[i] ":" i }' |sort -n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's my output
Some of these are aliases (graph is a pretty variant of log for example)
1117:git graph
1085:git status
424:git diff
358:git add
314:git commit
312:git checkout
197:git log
164:git reset
145:git branch
115:git remote
108:git pull
100:git clone
93:git stash
90:git show
88:git rebase
82:git apply
79:git submodule
60:git push
52:git subtree
52:git rm
46:git fetch
32:git format-patch
25:git ls-files
20:git init
18:git tag
15:git intercommit
13:git grep
12:git mergetool
10:git statu
10:git merge
9:git rev-parse
9:git ls-remote
9:git --version
8:git staus
7:git ls-tree
7:git config
7:git cherry-pick
6:git remotes
6:git filter-branch
6:git branches
5:git tags
5:git rev-list
5:git reflog
5:git mv
5:git garph
4:git stats
4:git read-tree
4:git merge-base
4:git fsck
4:git dpatch
4:git diff-index
4:git -v
4:git
3:git st
3:git patch-format
3:git addremove
2:git update
2:git status.
2:git statsus
2:git stash;git
2:git sho
2:git revert
2:git ls
2:git lost-found
2:git history
2:git diff-tree
2:git count-objects
2:git --git-dir=../repo
1:[email protected]:ryanaslett/Resume.git
1:[email protected]:mixologic/passthepopcorn.bundle.git
1:git-subtree
1:git-format-patch origin/HEAD
1:git-format-patch
1:git-find-blob.sh webform/
1:git whatchanged
1:git update-index
1:git stauts
1:git stauss
1:git stau
1:git statug
1:git statsu
1:git stat
1:git show-branch
1:git pwd
1:git prune
1:git patch-formatp
1:git oldest-ancestor
1:git grph
1:git grpah
1:git graph
1:git grap
1:git fa
1:git dirr
1:git clean
1:git -version
1:git --versino
1:git --v
1:git --grep=serialized