Skip to content

Instantly share code, notes, and snippets.

@DanicoSantos
Created July 25, 2020 00:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save DanicoSantos/15cf41c649ed7bba34856466cbf6cf7d to your computer and use it in GitHub Desktop.
my .zshrc

Aliases

alias infra='cd /home/dev-dan/infrastructure/docker/scripts' alias runsh='bash /home/dev-dan/infrastructure/docker/scripts/run.sh api' alias runapi='infra && runsh' alias stopall='infra && bash /home/dev-dan/infrastructure/docker/scripts/stop.sh' alias presto_stop="docker exec -it shannondb-presto supervisorctl stop presto" alias gss="git submodule sync && git submodule update --init --recursive --remote" alias clean_api="cd ~/infrastructure/docker/scripts && ./clean.sh && cd ~" alias exec_api="docker exec -it api bash" alias gpd="git pull origin develop" alias update_repos="echo "> Updating SQL Migrations " && cd ~/simbiose/code/sql-migrations && gpd && echo "> Updating API" ~/simbiose/code/api && gpd && cd ~"

Git Flow

alias start_feature="git flow feature start" alias publish_feature="git flow feature publish" alias finish_feature="git flow feature finish" alias start_fixbug="git flow hotfix start"

Git

alias gpush="git push origin" alias gpull="git pull origin" alias gcommit="git commit -m" alias gadd="git add" alias gmerge="git merge" alias gamend="git --amend" alias gcheckout="git checkout"

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