Skip to content

Instantly share code, notes, and snippets.

@jverkoey
Last active February 7, 2019 01:04
Show Gist options
  • Save jverkoey/8042005e6712c5c1cda0dbea23f09faf to your computer and use it in GitHub Desktop.
Save jverkoey/8042005e6712c5c1cda0dbea23f09faf to your computer and use it in GitHub Desktop.
Personal machine configuration
## One-time setup
# Deletes references to remote branches during git fetch
git config --global fetch.prune true
## .bashrc
# Pushes the local branch to origin and makes the local branch track the remote
gpush() {
git push origin $(git rev-parse --abbrev-ref HEAD) -u
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment