Run the following command list to find out!
history | cut -c8- | sort | uniq -c | sort -rn | head -n 10
Mine is the following:
Since I used a lot of aliases, here is the expanded version:
-
git status
(alias gst) -
git push
(alias ggpush='git push origin "$(git_current_branch)"') -
git commit
(alias gca='git commit -v -a') -
ls
(list files current directory) -
code .
(opening visual studio in the current folder) -
git pull
(alias ggpull='git pull origin "$(git_current_branch)"') -
..
(go back previous directoy) -
grunt serve
(alias eos='cd "$LOCKHART"/eos && git pull origin "$(git_current_branch)"; grunt serve') -
git checkout master
(alias gco='git checkout') -
grunt karma:...
(run unit tests)
Top comments (34)
Mine are all very similar to this! Although I don't use
clear
-- CMD/CTRL+L does the trickOh my god, I never knew the
CTRL+L
tip, you've LITERALLY changed my life.I use
git commit --amend --no-edit
too. Mostly for small changes (e.g., missed semicolon) that worth a commit.I honestly didn't know about
--no-edit
until now. Thanks for saving me the keystrokes 😂.There's another one I used when for whatever reason I need to retrigger CI/jenkins without making any change
I'm using zsh and this command didn't work well. I found this post which includes something nice! Here's mine:
ag
is the command for the_silver_searcher -- I guess I search a lot!If you use zsh you can use the command
zsh_stats
.Nice! I didn't know about
zsh_stats
. It would have saved me some time tinkering withcut
anduniq
:POh, that's weird it didn't work for you. I'm also using
zsh
. I'm just curious, what was not working with the original command?It just shows a bunch of commands with a count of 1 :-) The
zsh_stats
thing is very cool!yay
is my package manager,l
is an alias forls -al
and I seem to use vim a lot.I guess I hit a lot of git commands haha!
Interesting, I didn't know about the
glxgears
Its clear that I'm slowly turning into JS developer from iOS developer
This is fun!
Also lol they're all git and yarn for me:
gits
is my alias for git statusgita
is my alias for git add allgpo
is my alias for pushing to originNice!
Huh
Not typical at all. The first one is a set of 50 javascript challenges, so that makes sense.
The second, I was learning Rust for a bit.
The linkedlist was me trying to implement a Linked List in C++, and realizing I don't know C++ well enough to do so.
Last week or so I was playng with Rust and a bit of Python, while working through a JavaScript challenge, so I guess it makes sense, but it's not typical.
It should be the five basic git commands (init, status, add, commit, push), shortcuts I've aliased for my most used directories and
clear
I'm a js developer that traverses his file structure often.
I don't use aliases :P
IDE takes care of commands for running/testing app and stuff
nice, what IDE are you using that runs git commands for you?
I guess you are in devOps, or at least that's what your commands looks like