My Bash Aliases
1 minute reading  ~  252 visits
Publication Date: 2019/07/08 - 05:20 am

Photo by Damon Lam on Unsplash

Hello all ,

I just want to share my aliases in my git bash profile , that I use on my work machine which is a windows PC , I am using GIT bash with ConEmu terminal .

I hope some one make a use off it :)

# laravle
alias art='php artisan'
alias tinker='art tinker'
alias dump='art dump-server'

alias www='cd /c/www'
alias shrug="echo '¯\_(ツ)_/¯' | pbcopy"
alias fight="echo '(ง'̀-'́)ง' | pbcopy"
alias la='ls -FGlAhp'
alias c='clear'
alias e='exit'
alias ..="cd ../"
alias ...="cd ../../"
alias ....="cd ../../../"
alias .....="cd ../../../../"
alias ali='nano ~/.bash_profile'

alias ci='composer install'
alias cu='composer update'
alias cda='composer dumpautoload'

# Git
alias nah='git reset --hard;git clean -df'
alias gs='git status'
alias gf='git fetch --prune'
alias wip="git add . && git commit -m 'WIP'"
alias gdone="git add . && git commit -m "
alias gpl='git pull'
alias gp='git push'
alias gcdv='git checkout dev-5.8'
alias gc='git checkout -b'

# Yarn
alias yrw='yarn run watch'
alias yrp='yarn run prod'
alias yrd='yarn run dev'

#Homestead vagrant
alias vu='cd /c/www/Homestead && vagrant up'
alias vr='cd /c/www/Homestead && vagrant reload --provision'
alias vm='cd /c/www/Homestead && vagrant ssh'

if this post helped you , please consider to share ;) , see you on the next post .

© 2021 atm-code. All rights reserved.
made with ❤️ by Wink and tailwindcss