Skip to content

Instantly share code, notes, and snippets.

@caseyohara
Last active July 26, 2016 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caseyohara/3394115 to your computer and use it in GitHub Desktop.
Save caseyohara/3394115 to your computer and use it in GitHub Desktop.
My most used shell commands
~ $ history | awk {'print $2, $3, $4'} | sort | uniq -c | sort -k1 -rn | head -n 30
1191 git status
446 ls
316 git push origin
288 git diff
250 git branch
248 git commit -m
234 rspec spec
213 ghi
180 m .
173 git dc
150 cucumber
135 git checkout master
134 git pull upstream
115 git aa
105 ds
92 git rebase
84 cap staging deploy
82 git pull origin
81 git checkout -b
79 cd ..
74 git reset HEAD
71 git ra
65 pwd
56 irb
53 curl -X GET
48 git branch -D
46 git stash
45 tail -f log/development.log
41 git stash pop
30 git amend
@dinomite
Copy link

Neat. Might want to alias g="git status" or even better, use a function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment