Skip to content

Instantly share code, notes, and snippets.

View bilbo7833's full-sized avatar
😃
Collaborating

Stefan Anca bilbo7833

😃
Collaborating
View GitHub Profile
@KidkArolis
KidkArolis / gu.sh
Last active October 10, 2015 22:18
Update local repo after merging a PR
# add this to your ~/.bash_profile or similar
# say you're on a branch `my-feature` and
# you merge the PR for that branch on GitHub
# you can now execute `gu` to run the following
gu () {
branch=$(git symbolic-ref --short HEAD)
git checkout master
git pull