Last active
April 27, 2025 17:00
-
-
Save JValtteri/f9ec2605310ccf5e60fa8f7942ebf798 to your computer and use it in GitHub Desktop.
some usefull bash aliases
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
## Common | |
alias ll="ls -l -h --group-directories-first" | |
alias lm="ls -l -h --group-directories-first | more" | |
alias la="ls -lah --group-directories-first" | |
## Git | |
alias gitdog="git log --decorate --oneline --graph" | |
alias gitlog="git log --decorate --graph --stat" | |
alias gitfs="git fetch && git status" | |
alias gits="git status" | |
alias gita="git add ." | |
alias gitc="git commit" | |
alias gitd="git diff" | |
alias gitup="git stash && gitfs && git pull && git stash pop" | |
## Other | |
alias dockers='docker ps --format="table {{.ID}}\t{{.Image}}\t{{.RunningFor}}\t{{.Status}}\t{{.Size}}\t{{.Names}}"' | |
## Typos | |
alias gti="git" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment