Skip to content

Instantly share code, notes, and snippets.

@henrich
Created September 26, 2015 03:10
Show Gist options
  • Save henrich/80e417eef317ffc7e7c1 to your computer and use it in GitHub Desktop.
Save henrich/80e417eef317ffc7e7c1 to your computer and use it in GitHub Desktop.
merge alioth and upstream git
git clone -o upstream https://github.com/johanmattssonm/birdfont.git
cd birdfont
git remote add alioth git+ssh://anonscm.debian.org/git/pkg-fonts/birdfont/
git pull alioth
git checkout alioth/master
git checkout -b debian/sid
git checkout pristine-tar
git remote remove alioth
git checkout debian/sid
git merge v2.12.0
for i in `git status |grep "both added"|awk '{print $3;}'`; do git checkout v2.12.0 $i; done
git rm `git diff -U v2.12.0 |filterdiff -x */debian/*|grep +++| awk '{print $2}'|sed -e s%^b/%%`
dch -v 2.12.0-1
git commit debian/changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment