[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/HowTo/Git/SVN2GitMigrationStatus" by AlexanderAlemayhu

Debian Wiki debian-www at lists.debian.org
Mon Jun 9 22:36:55 UTC 2014


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "DebianEdu/HowTo/Git/SVN2GitMigrationStatus" page has been changed by AlexanderAlemayhu:
https://wiki.debian.org/DebianEdu/HowTo/Git/SVN2GitMigrationStatus?action=diff&rev1=18&rev2=19

Comment:
Mention git-buildpackage.

    $ git remote add origin ssh://git.debian.org/git/debian-edu/pkg-team/<package>.git
  }}}
  
+ ==== Setup git-buildpackage to ease packing with git ====
+ 
+ With Git versions greater than 1.7.2.3:{{{
+   $ git checkout --orphan upstream
+   $ git rm -rf .
+   $ git commit --allow-empty -m 'Initial upstream branch.'
+   $ git checkout -f master
+ }}}
+ 
+ With Git versions lower than 1.7.2.3:{{{
+   $ git symbolic-ref HEAD refs/heads/upstream
+   $ git rm --cached -r .
+   $ git commit --allow-empty -m 'Initial upstream branch.'
+   $ git checkout -f master
+ }}}
+ 
+ Import upstream tarball:{{{
+   $ git-import-orig --pristine-tar /path/to/tarball.orig.tar.gz
+ }}}
+ 
+ source: http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.CONVERT
+ 
  ==== Push the local SVN/Git clone to remote Git repository ====
  
  Push the local version to remote:{{{



More information about the debian-edu-commits mailing list