Skip to content

Instantly share code, notes, and snippets.

@danilowoz
Last active December 13, 2018 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilowoz/d7d931f81154367f62b7dfb0dcbffc8a to your computer and use it in GitHub Desktop.
Save danilowoz/d7d931f81154367f62b7dfb0dcbffc8a to your computer and use it in GitHub Desktop.
Alias gist
# .gitconfig
[user]
email = danilowoz@gmail.com
[alias]
st = status
ci = commit
br = branch
co = checkout
up = "!git remote update -p; git merge --ff-only @{u}"
emenda = commit --amend --no-edit
[branch]
autoSetupMerge = always
autosetuprebase = always
# .zshrc
# Git
alias gc="git add . && git commit -am "
alias gcm="git checkout master"
alias gpull="git pull origin master"
alias gpush="git push origin master"
# yarn && npm
alias y="yarn"
alias yd="yarn dev"
alias ydd="yarn && yarn dev"
alias dev="git pull && code . && ydd"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment