以下是我自己常用的别名配置
MAC 的别名配置文件是在/Users/long/.bash_profile
homestead 的配置是在Homestead/resources/aliases
文件里面
alias sql='mysql -uroot -p666666'
alias web='ssh root@homestead'
alias mac='./ifunmac-lic -p 22233'
alias tmp='scp ./* root@47.90.84.146:/tmp'
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) % C(bold blue)<%an>%Creset' --abbrev-commit'"
alias ga='git add -A'
alias gb='git branch'
alias gk='git checkout'
alias gc='git commit -m'
alias gm='git merge'
alias gs='git status'
alias gls='git log -1'
alias gr='git reset --hard'
alias gpush='git push origin master:master'
alias gpull='git pull origin master'
alias gl5="git log -5"
alias del='sudo find /Users/name/Downloads/ -name '*.DS_Store' -type f -delete'