summaryrefslogtreecommitdiff
path: root/localdebgitreinit
blob: e68471016545fcd3fb142210ac7f90faf6aaef60 (plain)
  1. #!/bin/sh
  2. set -e
  3. for pkg in "$@"; do
  4. cd "$pkg"
  5. git init
  6. git remote rm origin || true
  7. git remote add origin git.debian.org:/git/collab-maint/$pkg
  8. git config branch.master.remote origin || true
  9. git config branch.master.merge refs/heads/master
  10. cd ..
  11. done