[Pkg-octave-devel] Migrate the SVN repos to Git

Rafael Laboissiere rafael at debian.org
Tue May 5 08:53:10 UTC 2009


* Rafael Laboissiere <rafael at debian.org> [2009-05-05 09:48]:

> A possible workflow for using the Git repositories is like this:
> 
>     $ PKG=src-package-name
>     $ VER=some-version
>     $ apt-get source $PKG
>     $ cd $PKG-$VER
>     $ rm -rf debian
>     # The following is equivalent to svn checkout
>     $ git clone ssh://git.debian.org/git/pkg-octave/$PKG.git .
>     # Edit debian/* files
>     $ debuild -i 
>     $ dupload
>     $ git commit -a -m "Debian release ${PKG}_$VER-1"
>     $ git push # equivalent to svn commit              

To tag a released version:

    $ git tag $VER-1
    $ git push --tags
 
-- 
Rafael



More information about the Pkg-octave-devel mailing list