Skip to content

Instantly share code, notes, and snippets.

@thadeu
Created July 27, 2016 12:39
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 thadeu/7097623474459152c209a29aa0f7fa72 to your computer and use it in GitHub Desktop.
Save thadeu/7097623474459152c209a29aa0f7fa72 to your computer and use it in GitHub Desktop.
##----GIT------
alias gs='git status'
alias gb='git branch'
alias gt='git tag'
alias grm='git rm'
alias gps='git push'
alias gco='git checkout'
alias gm='git merge'
alias gp='git pull'
alias gst='git stash'
alias gsta='git stash apply'
alias gunstage='git reset HEAD'
# commit
function gc
git commit -m "$argv"
end
# add
function ga
git add $argv
end
# console symfony2
function console
php app/console "$argv"
end
# rails action
function r
rails "$argv"
end
# inicia o mysql
function mysqlverbose
/usr/local/opt/mysql55/bin/mysqld --verbose
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment