Last active
February 17, 2021 10:40
-
-
Save batbayar-su/4553489332e188c7dc93af7efb1fbe6f to your computer and use it in GitHub Desktop.
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
# general aliases | |
alias ll="ls -al" | |
alias reload="source ~/.zshrc" | |
alias reconfig="vim ~/.zshrc" | |
# git aliases | |
alias ga="git add" | |
alias gb="git branch" | |
alias gbcu="git branch --merged | egrep -v '(^\*|master|test)' | xargs git branch -d" | |
alias gc="git commit" | |
alias gca="git commit --amend --no-edit" | |
alias gcm="git commit -m" | |
alias gco="git checkout" | |
alias gd="git diff" | |
alias gl="git log" | |
alias gpl="git pull" | |
alias gps="git push" | |
alias gr="git reset" | |
alias gs="git status" | |
# Didn't included folder, server and configuration aliases since it is more personal :D | |
# alias go2apache="cd /etc/apache2" | |
# alias go2works="cd ~/works" | |
# alias con2stg="ssh username@101.101.101.102" | |
# alias con2prd="ssh username@101.101.101.101" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment