Skip to content

Instantly share code, notes, and snippets.

@hanneshapke hanneshapke/.bashrc
Last active Jun 12, 2018

What would you like to do?
dev setup
export CURRENT_DEV=kreuzberg
alias latest_dev='cd ~/development/$CURRENT_DEV'
# ssh tunnel
alias ssd='~/bin/ ubuntu@remote -p 823 -L 6006:gpu:6006'
# add additional paths to the PYTHONPATH
export PYTHONPATH=$PYTHONPATH:~/development/additional_package
# git shortcuts
alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gp='git push '
alias gc='git commit'
alias gcm='git commit -m'
alias gd='git diff'
alias gco='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
alias glp='git log --graph --decorate --pretty=oneline --abbrev-commit'
alias got='git '
alias get='git '
alias gt='git '
function create_new_git_branch {
git checkout -b "$1" && git push -u origin "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.