git init #import git remote add origin ssh://git.debian.org/git/collab-maint/pkg-retty git config branch.master.merge refs/heads/master git remote add upstream-repo http://pasky.or.cz/\~pasky/dev/retty/retty.git/ git config remote.upstream-repo.fetch +refs/heads/master:refs/remotes/upstream-repo/upstream git fetch upstream-repo git checkout -b upstream upstream-repo/upstream # this will throw an error git branch # erster commit git tag -s retty-1.0-1 4bf4348 git checkout -b master retty-1.0-1 zcat ~/work/MISC/retty/retty_1.0-1.diff.gz | git apply # returns with 'error: blindtty.1: already exists in working directory' #build git checkout -b build retty-1.0-1 ../poor-mans-gitbuild.sh