Skip to content

Instantly share code, notes, and snippets.

@justinhartman
Created May 17, 2018 00:55
Show Gist options
  • Save justinhartman/9dae81df4269c66eebc6ebd6f0bc4dd7 to your computer and use it in GitHub Desktop.
Save justinhartman/9dae81df4269c66eebc6ebd6f0bc4dd7 to your computer and use it in GitHub Desktop.
Common Development Terminal Commands

Git

Shortcut Command
gsb git status -s
gaa 'git add --all'
gcmsg 'git commit -m'
gcam 'git commit -a -m'
gp ’git push'
gcl 'git clone --recursive'
ggpull 'git pull origin $(git_current_branch)'
ggpush 'git push origin $(git_current_branch)'
gl 'git pull'
gm 'git merge'
glg 'git log --stat'
gcf 'git config --list'
gra 'git remote add'
grmv 'git remote rename'
grrm 'git remote remove'
grset 'git remote set-url'
gheroku 'git push && git push heroku master'

Terminal

Shortcut Command
_ sudo
la 'ls -lAh'
ll 'ls -lh'
lsa 'ls -lah'
md 'mkdir -p'
ohmyzsh 'subl ~/.oh-my-zsh'

Laravel

Shortcut Command
la5cache 'php artisan cache:clear'
la5routes 'php artisan route:list'
la5vendor 'php artisan vendor:publish'

#22digital/Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment