Created
December 13, 2016 13:12
-
-
Save mehranhadidi/e7a90dc5614493a127f73e25c5a4341b to your computer and use it in GitHub Desktop.
useful alias on ubuntu
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
# add these lines to ~/.bashrc | |
#aliases | |
source ~/.aliases | |
# create file ~/.aliases and add these lines to that file. | |
# git | |
alias gs='git status' | |
alias ga='git add' | |
alias gc='git commit -m' | |
alias gl='git log' | |
alias gp='git push' | |
alias nah='git reset --hard && git clean -df' | |
alias gb='git branch' | |
alias gbc='git checkout' | |
# laravel | |
alias pa='php artisan' | |
# close & open shell to use aliases. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment