Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # General
- alias plz='sudo'
- alias fucking='sudo'
- alias cls="clear"
- alias edt="vim ~/.bash_aliases"
- alias rld="source ~/.bash_aliases"
- # Git helpers
- alias gitmaster='git checkout master'
- alias gitsync='git merge master'
- alias gitf='git fetch'
- alias bop='git stash pop'
- alias succ='git stash'
- alias branch="git status | awk 'NR==1{print $3}'"
- alias copybranch="git status | awk 'NR==1{print $3} | pbcopy"
- alias recent="git for-each-ref --sort=-committerdate refs/heads --format='%(HEAD)%(color:yellow)%(refname:short)|%(color:bold green)%(committerdate:relative)|%(color:blue)%(color:reset)'|column -ts'|' | less"
- alias all="git for-each-ref --sort=-committerdate refs/heads --format='%(HEAD)%(color:yellow)%(refname:short)|%(color:bold green)%(committerdate:relative)|%(color:blue)%(subject)|%(color:magenta)%(authorname)%(color:reset)'|column -ts'|' | less"
- alias push="git push origin `git status | awk 'NR==1{print $3}'`"
- alias pushn="git push --no-verify origin `git status | awk 'NR==1{print $3}'`"
- alias pull="git pull origin `git status | awk 'NR==1{print $3}'`"
- # Project specific
- alias commits='npm run commit'
- alias commitsr='npm run commit -- --retry'
- alias nwf="cd ~/$PROJECT_PATH"
- alias nwff="cd ~/$PROJECT_PATH/__fake_backend__"
- source ~/git-helpers.sh
- if [ -f ~/.git-completion.bash ]; then
- . ~/.git-completion.bash
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement