Skip to content

Instantly share code, notes, and snippets.

@santospatrick
Last active October 15, 2018 11:32
Show Gist options
  • Save santospatrick/f15a022fc308e36d28052819073e3447 to your computer and use it in GitHub Desktop.
Save santospatrick/f15a022fc308e36d28052819073e3447 to your computer and use it in GitHub Desktop.
Git Aliases
[user]
name = Patrick Santos
email = patrickspteixeira@gmail.com
[credential]
helper = store
[push]
default = simple
[alias]
set-upstream = !git branch --set-upstream-to=origin/`git symbolic-ref --short HEAD`
[core]
editor = nano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment