My Bash Aliases
1 minute reading  ~  53 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'

#Mix
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'

#composer
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 .



Copyright 2019 - atm-code
made with ❤️ by Wink and tailwindcss