Last active
April 6, 2020 06:41
-
-
Save bwasilewski/57bdf53de71cb56e6b1f65cc36ed89b0 to your computer and use it in GitHub Desktop.
Some helpful aliases
This file contains 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
alias bashedit='vim ~/.bashrc' | |
alias bashrefresh='source ~/.bashrc' | |
alias home='cd ~/' | |
alias ll='ls -lahFG' | |
# get disk usage for all directories inside current directory | |
alias dud='du -sh ./*/' | |
# show disk usage for all drives | |
alias disks='df -h --type=ext4' | |
# ask before removing files | |
alias rm='rm -i' | |
alias publicip='wget http://ipinfo.io/ip -qO -' | |
# git | |
alias gits='git status' | |
alias gs='git status' | |
alias ga='git add' | |
alias gaa='git add -A' | |
alias gr='git rm' | |
alias gra='git rm -A' | |
alias gpush='git push origin master' | |
alias gpull='git pull origin master' | |
alias gch='git checkout ' | |
alias gc='git commit -m' | |
alias gm='git merge' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment