Skip to content

Instantly share code, notes, and snippets.

@kunokdev
Created March 25, 2021 22:05
Show Gist options
  • Save kunokdev/34742e01bc900de542c53f00e6af88eb to your computer and use it in GitHub Desktop.
Save kunokdev/34742e01bc900de542c53f00e6af88eb to your computer and use it in GitHub Desktop.
aliases
alias st="git status"
alias ad="git add"
alias aa="git add -A"
alias co="git commit"
alias com="co -m"
alias ch="git checkout"
alias chm="git checkout master"
alias chb="git checkout -b"
alias pu="git push"
alias puh="git push origin HEAD"
alias puhf="git push origin HEAD --force"
alias amend="git commit --amend --no-edit"
alias sdev="yarn start:dev"
alias dev="yarn dev"
alias dc="docker-compose"
alias jobs-to-queue="fetcher maintenance reschedule -s new | yarn pino-pretty"
alias execute-jobs="fetcher pgboss worker"
alias pickup-jobs="execute-jobs"
alias wd="cd ~/Workdir"
alias diff="git diff"
alias pull="git pull"
alias rebase="git rebase"
alias start-pg="wd && cd db && docker-compose -f docker-compose.pg.yml up"
alias wdl="wd && ls"
alias open-fetcher-api="wd && cd fetcher-api && code ."
alias open-tiktok="wd && cd headless-tiktok && code ."
alias start-fetcher-api-frontend="wd && cd fetcher-api && cd frontend && yarn start"
alias start-fetcher-api-backend="wd && cd fetcher-api && cd backend && sdev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment