Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# The set of commands to update the develop and master branches on a dreamhack, while pushing
# any changes to a personal fork. NOTE: assumes all uncommitted changes are stashed.
# update dw-free
cd $LJHOME
git fetch dreamwidth
git checkout develop && git pull --ff-only dreamwidth develop:develop
git checkout master && git pull --ff-only dreamwidth master:master
git push origin develop
git push origin master
# update dw-nonfree
cd $LJHOME/ext/dw-nonfree
git checkout develop && git pull --ff-only dreamwidth develop:develop
git checkout master && git pull --ff-only dreamwidth master:master
git push origin develop
git push origin master
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.