Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- source ~/.bash-git-prompt/gitprompt.sh
- export VISUAL="subl -nw"
- alias gitrebcont='git add . && git rebase --continue'
- alias gitshowlastcommit='git diff HEAD^ HEAD'
- alias gitamend="git commit -a --amend --no-edit"
- function gitmasterrebase {
- git checkout master && git pull && git checkout $1 && git rebase master
- }
- # I often type git twice by mistake
- function git {
- while [ $1 = 'git' ]; do
- shift
- done
- /usr/bin/env git "$@"
- }
- # git shortcut
- function g {
- while [ $1 = 'g' ]; do
- shift
- done
- /usr/bin/env git "$@"
- }
- # I often think an output is shown in less
- function qg {
- git "$@"
- }
- function qgit {
- git "$@"
- }
- function startodoo {
- ~/Odoo/odoo/odoo.py --addons-path=../enterprise,addons "$@"
- }
- cd /home/arthur/Odoo/odoo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement