1489
Comment:
|
1490
|
Deletions are marked like this. | Additions are marked like this. |
Line 39: | Line 39: |
=== simple push === | === simple push === |
Translation(s): none
Introduction
A lot of git and git-buildpackage commands needed got more than one option, are needed seldom and are hard to remember. This page is supposed to be a reminder, not a detailed explanation. Like: You remember you had to use a git-buildpackage command, but can't find it in your notes any more (and neither online).
git-buildpackage
clone from gitorious for rebuilding
gbp-clone --pristine-tar git@gitorious.org:debian-diaspora/ruby-columnize.git
By cloning like this you will be able to build the package with
git-buildpackage
for example if you want to have a look at the package of someone else.
import new upstream version
If there is a working debian/watch file:
git-import-orig --pristine-tar --uscan
If you need to download a new upstream tarball manually:
git-import-orig --pristine-tar path/to/<new-upstream-version>.tar.gz
git
simple push
To push to gitorious run
git push --all git push --tags
A typical gotcha is to "git push origin master" instead (and or to forget the --tags push).